[R] R on Multicore for Linux
Paul Hiemstra
paul.hiemstra at knmi.nl
Thu Jul 21 10:57:16 CEST 2011
I have good experiences with the foreach package, available on cran. It
includes some tutorials which might help you.
cheers,
Paul
On 07/20/2011 11:44 PM, Madana_Babu wrote:
> Hi all,
>
> I have R installed on a box, which is running on a machine with 16 core and
> Redhat - Linux. I am handling huge (size of dataset will be 5 GB) dataset.
> Lets assume that my data is in the form of structured (multiple) logs. I
> access the data by using all.files(). Since by default basic version of R
> utilizes single core, the processing of my analysis code is taking too much
> time. I got to know that mclapply() can be used to use all cores
> (processors) to make R much faster when we have multicores. Can anyone help
> me in understanding how to use mclapply() function in the above situation.
>
> Thanks in advance
>
> Regards,
> Madana
>
> --
> View this message in context: http://r.789695.n4.nabble.com/R-on-Multicore-for-Linux-tp3682318p3682318.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
--
Paul Hiemstra, Ph.D.
Global Climate Division
Royal Netherlands Meteorological Institute (KNMI)
Wilhelminalaan 10 | 3732 GK | De Bilt | Kamer B 3.39
P.O. Box 201 | 3730 AE | De Bilt
tel: +31 30 2206 494
http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770
More information about the R-help
mailing list