[R] Increasing the maximum number of rows

Erik Iverson eriki at ccbr.umn.edu
Sat May 22 08:12:13 CEST 2010

Alex Ruiz E. wrote:
> Dear R helpers,
> I created a somewhat big database (+206,700 rows) in MySQL and have
> exported into a csv file, but I can't open the whole thing in R. I am
> using:
>> base<-read.csv("/path/to/file.csv", header=F, sep="," nrows=206720)
> R doesn't complain but it only opens 128,328 observations (the number of
> columns corresponds to the original database):
>> dim(base)
> [1] 128328    134

Have you verified that file.csv does indeed contain the number of rows you think 
it does? Can you go to line 128328 of the CSV file and look if it's any different?

More information about the R-help mailing list