Session Ready
Exercise

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.

Instructions 1/2
undefined XP
  • 1
  • 2
  • Write batrips to file using base R's write.table().
  • Wrap the call inside system.time() to see how long this operation takes.