Skip to content
Back to formatted view

Raw Message

Message-ID: <510FD97D-DA94-402B-BB8C-CF1EAA218D5F@gmail.com>
Date: 2009-08-31T16:13:48Z
From: Steve Lianoglou
Subject: Multiple threads on MacPro
In-Reply-To: <DD3E20EA-6D38-451F-B2FF-0990ACB6EA2A@fhcrc.org>

Hi,

On Aug 31, 2009, at 12:10 PM, Matthew Fero wrote:

> I'm wondering what is the best way is to take advantage of the  
> multiple CPUs on a MacPro?  For example, does someone have  
> suggestions on how to setup and use parApply functions, in the snow  
> package, on a multi-core Mac?

I don't know if it's the best, but lately I like using the foreach  
package with the multicore backend

  * http://cran.r-project.org/web/packages/foreach/index.html
  * http://cran.r-project.org/web/packages/doMC/index.html
  * http://cran.r-project.org/web/packages/multicore/

-steve

--
Steve Lianoglou
Graduate Student: Computational Systems Biology
   |  Memorial Sloan-Kettering Cancer Center
   |  Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact