Get startedGet started for free

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.

This exercise is part of the course

Data Manipulation with data.table in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Use write.table() to write batrips
___(___(batrips, "base-r.txt"))
Edit and Run Code