Last answered:

11 Jan 2023

Posted on:

04 Jan 2023

0

Resolved: Reading csv files.

What's the difference between read.csv and read_csv ?

2 answers ( 1 marked as helpful)
Instructor
Posted on:

09 Jan 2023

0

Hi Packiarajan,
thanks for reaching out!
The read.csv function reads a file into a data frame object. The read_csv function reads the file into a tibble object. The tibble objects have some advantages over regular data frames, such as the fact that they load faster and allow non-standard naming of columns.
Nevertheless, both are valid ways to read a csv in R, so you're welcome to use either of the two functions.

Best,
365 Eli

Posted on:

11 Jan 2023

0

Thank you :-)

Submit an answer