Load the parallel package as David suggested, and look at example(mclapply) -- it gives a bootstrapping example in the "don't run" section.
Michael On Mon, Jul 30, 2012 at 2:50 PM, Chet Seligman <chet.selig...@gmail.com> wrote: > I have already consulted multicore.pdf and wondered if anyone could offer > specific code for doing loops, apply's and/or > cross-validation on a multicore machine? > > On Mon, Jul 30, 2012 at 12:07 PM, David Winsemius > <dwinsem...@comcast.net>wrote: > >> >> On Jul 30, 2012, at 11:56 AM, Chet Seligman wrote: >> >> Can anyone provide code example(s) for doing loops, apply's and/or >>> cross-validation on a multicore machine? >>> >>> >> help(package=parallel) >> >> -- >> >> David Winsemius, MD >> Alameda, CA, USA >> >> > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. ______________________________________________ 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.