Dedicated classes
You might have noticed that the fread()
function produces data frames that look slightly different when you print them out. That's because another class named data.table
is assigned to the resulting data frames. The printout of such data.table
objects is different. Does something similar happen with the data frames generated by readr
?
In your current working directory, we prepared the potatoes.csv
(view) file. The packages data.table
and readr
are both loaded, so you can experiment straight away.
Which of the following statements is true?
Cet exercice fait partie du cours
Introduction to Importing Data in R
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
