[R] efficient equivalent to read.csv / write.csv

statquant2 statquant at gmail.com
Tue Sep 28 19:24:15 CEST 2010


Hi, after testing 
R) system.time(read.csv("myfile.csv"))
   user  system elapsed
  1.126   0.038   1.177

R) system.time(read.csv.sql("myfile.csv"))
   user  system elapsed
  1.405   0.025   1.439
Warning messages:
1: closing unused connection 4 ()
2: closing unused connection 3 ()

It seems that the function is less efficient that the base one ... so ...
-- 
View this message in context: http://r.789695.n4.nabble.com/efficient-equivalent-to-read-csv-write-csv-tp2714325p2717585.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list