Re: [R] Row limit for read.table

From: Vladimir Eremeev <wl_at_eimb.ru>
Date: Wed 17 Jan 2007 - 16:57:40 GMT

The problem is somewhere in the file, probably with tab characters, as removing sep="" from your call does the job.

> dfr<-read.table("Tchange_rates_crawled.dat",header=TRUE)
> str(dfr)

'data.frame': 122271 obs. of 5 variables: [skipped]
> dfr<-

read.table("Tchange_rates_crawled.dat",header=TRUE,stringsAsFactors=FALSE)
> str(dfr)

'data.frame': 122271 obs. of 5 variables: [skipped]

R has no limitations you're talking about. A couple hours ago my R has successfully read in 460000 rows of data from a text file in a data frame using read.table.
I have also processed even larger data sets (more than 500000 rows).



R-help@stat.math.ethz.ch 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. Received on Thu Jan 18 04:03:19 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 17 Jan 2007 - 17:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.