[R] how to read in only some columns of a data file

David Winsemius dwinsemius at comcast.net
Wed Jun 17 23:22:38 CEST 2009


Read the help page and the Import/Export Manual on the facilities  
offered by the colClasses parameter of the read.table function.


On Jun 17, 2009, at 4:59 PM, liujb wrote:

>
> Hello,
>
> I have a data file (.csv) that has a size of about 2.6 GB. I am not  
> able to
> read in the whole data set because of the memory limit. I actually  
> only need
> some columns (3 columns) of the data set, is there a way to read in
> specified columns?
>
> I am using windows.

-- 
David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list