On Fri, Jun 26, 2009 at 8:28 AM, Michael<comtech....@gmail.com> wrote: > I guess when we move to Amazon AWS, > > we have to rewrite the whole R programs?
Not necessarily. I use foreach (currently available in our REvolution R Enterprise distribution and coming very soon to CRAN), and test out the parallel code on my dual-core laptop. When I'm ready to run the big job, I just launch (say) 10 instances on Amazon EC2, use joinSleigh() to hook them together, and then just run the same foreach code. Now the same code is running on 10 distributed machines, no rewrite necessary. There's an extended example using foreach here: http://blog.revolution-computing.com/2009/05/parallelized-backtesting-with-foreach.html # David Smith -- David M Smith <da...@revolution-computing.com> Director of Community, REvolution Computing www.revolution-computing.com Tel: +1 (206) 577-4778 x3203 (San Francisco, USA) Check out our upcoming events schedule at www.revolution-computing.com/events ______________________________________________ R-help@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.