1.

Which of the following statement can read csv files?(a) read.table(filename,header=TRUE,sep=’,’)(b) read.csv(filename,header=TRUE,sep=’,’)(c) read.tab(filename,header=TRUE,sep=’,’)(d) read.tab(filename,header=False,sep=’,’)

Answer» Correct option is (a) read.table(filename,header=TRUE,sep=’,’)

Best explanation: Each row of the table appears as one line of the file.


Discussion

No Comment Found

Related InterviewSolutions