Explanation:The file() function has a number of arguments that are common to many other connection functions. 8. Which of the followin code creates a connection to ‘foo.txt’ ?
A. con <- file("foo.txt")
B. open(con, "r")
C. opencon(con, "r")
D. All of the mentioned
Answer:A
Explanation:The file() function has a number of arguments that are common to many other connection functions. 8. Which of the followin code creates a connection to ‘foo.txt’ ?
A. con <- file("foo.txt") B. open(con, "r") C. opencon(con, "r") D. All of the mentioned