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