[R] re: smp in Linux

Thomas Lumley thomas@biostat.washington.edu
Thu, 11 Mar 1999 09:09:29 -0800 (PST)


On Thu, 11 Mar 1999, Paul Gilbert wrote:

> >On the other hand, most of the problems I have where speed is an issue are
> >simulations or bootstrapping problems that scale almost perfectly by
> >running 1/n as many on each of n processors.
> 
> This has been my experience too, and I have lots of problems like this. It would
> sure be nice to have some possibility like:
> 
> parallelfor (i in 1:N, listofmachines )  x[[i]] <- simulate(model[[i]],
> data[[i]])
> 

This may be a case for implementing .For().  We currently say it is not
necessary and thus not implemented, which is true for systems with more
users than processors, but it would be useful for multiprocessor systems.

	-thomas


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._