[R] naive question

Liaw, Andy andy_liaw at merck.com
Wed Jun 30 00:00:29 CEST 2004


> From: rivin at euclid.math.temple.edu
> 
> I did read the Import/Export document. It is true that replacing
> the read.table by read.csv and setting the commentChar="" speeds
> things up some (a factor of two?) -- this is very far from 
> acceptable performance,
> being some two orders of magnitude worse than SAS (the IO of 
> which is, in turn, much worse
> than that of the unix utilities (awk, sort, and so on))   . 
> Setting colClasses is suggested
> (and has been suggested by some in response to my question), but for 
> a frame with some 60 columns, this is a major nuisance.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html

Please don't make _your_ nuisance into others'.  Do read the posting guide
as suggested above.  You have not provided any info for anyone to give you
any useful advice beyond those you said you received.

R is not all things to all people.  If you are so annoyed, why not use
SAS/awk/sort and so on?

[For my own education:  How do you read the file into SAS without specifying
column names and types?]

Andy




More information about the R-help mailing list