Which Of The Following R Code Creates A Connection To Footxt #273
Which of the following R code creates a connection to 'foo.txt'?
This multiple choice question (MCQ) is related to the book/course gs gs110 R Language. It can also be found in gs gs110 R - Data Storage, Formats, Objects and Operations - Connection Interfaces - Quiz No.1.
Which of the following R code creates a connection to 'foo.txt'?
con <- file("foo.txt")
open(con, "r")
opencon(con, "r")
ocon(con, "r")