Vidyalelo
R Programming · Q73

Data Structures in R Programming

Programming · R Programming · question 73

Q73

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")
Answer
B.
data <- read.csvo("foo.txt")
C.
data <- readonly.csv("foo.txt")
D.
data <- getonly.csv("foo.txt")

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board