Which Of The Following Code Opens A Connection To The File #274
Which of the following code opens a connection to the file foo.txt, reads from it, and closes the connection when its done?
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 code opens a connection to the file foo.txt, reads from it, and closes the connection when its done?
data <- read.csv("foo.txt")
data <- read.csvo("foo.txt")
data <- readonly.csv("foo.txt")
data <- getonly.csv("foo.txt")