Google News
logo
R - Quiz(MCQ)
Which of the following statement can read csv files?
A)
read.tab(filename,header=TRUE,sep=’,’)
B)
read.tab(filename,header=False,sep=’,’)
C)
read.csv(filename,header=TRUE,sep=’,’)
D)
read.table(filename,header=TRUE,sep=’,’)

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


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

Advertisement