This is a more conceptual question, but in class today, I was told by my professor that it would be preferable to use read_csv
rather than read.csv
. For more context, we are working with tidyverse in this class.
As such, since read_csv
and read.csv
(as far as I'm aware) both read CSV files, what are the objective benefits and drawbacks of using one function versus the other?