On Sat, Mar 27, 2010 at 4:19 AM, n.via...@libero.it <n.via...@libero.it> wrote: > Hi I have a question, > as im not able to import a csv file which contains a big dataset(100.000 > records) someone knows how many records R can handle without giving problems? > What im facing when i try to import the file is that R generates more than > 100.000 records and is very slow... > thanks a lot!!!
Did you read the sections of the "R Data Import/Export" manual (check the Help menu item under manuals) relating to reading large data sets? There are many things you can do to make read.csv faster on files with a large number of records. You can pre-specify the number of records so that vectors are not continually being resized and, probably the most important, you can specify the column types. You can read the whole manual in less than the R is taking to read the file. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.