Google News
logo
R - Quiz(MCQ)
Which of the following statement read a tab or space delimited file?
A)
read.CSV(filename,header=TRUE)
B)
read.table(filename,header=TRUE)
C)
read.table(filename,header=FALSE)
D)
read.tableall(filename,header=TRUE)

Correct Answer :   read.table(filename,header=TRUE)


Explanation : read.csv and read.csv2 are identical to read.table except for the defaults.

Advertisement