[R] Simple example for High performance computing with R?

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed May 30 10:16:53 CEST 2012


On 30/05/2012 04:02, Fabrice Tourre wrote:
> Dear list,
>
> I want to run two independent calculation (A, B) and then combined
> their results to do a plot in R. Before I just run calculation A
> first, then calculation B. It will take some times. I just have one
> server with multiple core. I noticed that there are some nice package
> in R for parallel calculation, such as parallel, multicore and snow.
> Also there is a book, O’Reilly – “Parallel R, Data Analysis in the
> Distributed World” book by Q. Ethan McCallum and Stephen Weston.
>
> When track into these packages, I am a little of lost because I did
> not know parallel calculation too much.
>
> Could any one can give me some example codes for my purpose? So I can
> easy follow.
>
> Thank you very much in advance.
>
> ______________________________________________
> 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.

Please read the vignette for package 'parallel': we already answered 
your request.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list