[R] Loading only particular columns from csv file...

Gabor Grothendieck ggrothendieck at gmail.com
Tue Jan 15 00:04:16 CET 2008


See the colClasses= argument of read.table where you can use "NULL".

On Jan 14, 2008 6:02 PM, Marko Milicic <milicic.marko at gmail.com> wrote:
> Dear all,
>
> I'm trying to process HUGE datasets with R. It's very fast, but I would like
> to optimize it a bit more, by focusing one one column at time..... say file
> is 1GB big and has 100 columns..... In order to prevent "out of memory"
> problems.... I need to load one column at the time.... the only problem is
> that read.table doesn't support this feature....
>
>
> Is there some thick which will do the magic?
>
>
> Thank you in advance.
>
> --
> This e-mail and any files transmitted with it are confid...{{dropped:14}}
>
> ______________________________________________
> R-help at r-project.org 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.
>




More information about the R-help mailing list