R data science interview questions

Category: R LanguageR data science interview questions
Editor">Editor Staff asked 2 years ago

R data science interview questions
The above data table is written to a csv file called ‘Datatable.csv’. Suppose you want to read
this csv file with all 3 rows. How will you carry this out?

1 Answers
Editor">Editor Staff answered 2 years ago

csv2(‘Datatable.csv’,header=FALSE,sep=’,’)