1.

Which of the following R code creates a connection to ‘foo.txt’?(a) con

Answer» Correct option is (a) con <- file(“foo.txt”)

Easy explanation: Open is used for opening connection to ‘foo.txt’ in read-only mode.


Discussion

No Comment Found

Related InterviewSolutions