multithreading - Can I read 1 big CSV file in parallel in R? -


i have big csv file , takes ages read. can read in parallel in r using package "parallel" or related? i've tried using mclapply, not working.

based upon comment op, fread data.table package worked. here's code:

library(data.table) dt <- fread("myfile.csv") 

in op's case, read in time 1.2gb file read.csv took 4-5 minutes , 14 seconds fread.


Comments

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -