

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following R code creates a connection to ‘foo.txt’? |
A. | con <- file(“foo.txt”) |
B. | open(con, “r”) |
C. | opencon(con, “r”) |
D. | ocon(con, “r”) |
Answer» B. open(con, “r”) | |