CommencerCommencer gratuitement

Fast writing to disk

As mentioned in the video, fwrite() writes data to disk is very fast! Also, just like fread() reads data in parallel, fwrite() also writes to file in parallel. The number of threads to write data to disk can be controlled using nThread argument.

Cet exercice fait partie du cours

Data Manipulation with data.table in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Use write.table() to write batrips
___(___(batrips, "base-r.txt"))
Modifier et exécuter le code