Q. Which of the following code opens a connection to the file foo.txt, reads from it, and closes the connection when its done?
β
Correct Answer: (A)
data <- read.csv("foo.txt")
You must be Logged in to update hint/solution