[R] reading in only one column from text file

Liaw, Andy andy_liaw at merck.com
Tue Mar 7 23:08:48 CET 2006


read.table("datafile", colClasses=c("NULL", "numeric"), ...)

or something like that.

Andy

From: mark salsburg
> 
> How do I manipulate the read.table function to read in only 
> the 2nd column???
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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
> 
>




More information about the R-help mailing list