1

It is required to find the number of lines of a pretty big CSV file (about 100 GB) without reading it completely -- since it doesn't fit inside the RAM. What is the MOST OPTIMIZED way to achieve this in R ?

Edit: I have already tried out the following

reading a text file in R line by line

Read Large File line by line in R without header

But seems to be pretty slow - for just finding number of rows ...

Ajay
  • 87
  • 4

0 Answers0