1.

Which of the following statement read a tab or space delimited file?(a) read.table(filename,header=TRUE)(b) read.CSV(filename,header=TRUE)(c) read.table(filename,header=FALSE)(d) read.tableall(filename,header=TRUE)

Answer» Right answer is (a) read.table(filename,header=TRUE)

The explanation is: read.csv and read.csv2 are identical to read.table except for the defaults.


Discussion

No Comment Found

Related InterviewSolutions