Which of the following code opens a connection to the file foo.txt, reads from it, and closes the connection when its done?
A. data <- read.csv("foo.txt")
B. data <- read.csvo("foo.txt")
C. data <- readonly.csv("foo.txt")
D. data <- getonly.csv("foo.txt")
Answer: Option A

Join The Discussion