Correct Answer : data <- read.csv(“foo.txt”)
Explanation : Connections must be opened, then the are read from or written to, and then they are closed.