[R-sig-hpc] Parallel loop

Rodney Sparapani rsparapa at mcw.edu
Thu Mar 8 17:57:29 CET 2012


Scott Raynaud wrote:
> Thanks for the feedback.  Part of my problem is that I need the most
> recent copy of R.  My IS team told me they can only get an earlier
> copy using apt-get, but I think there must be a way so I've tasked them
> with figuring it out.  
>
> My OS is Kubuntu. I just thought it odd that it could only detect the 
> number of CPUs rather than the number of cores.  I'm completely
> new to parallel processing but it seems that something is not right
> in the core detection.
>
> One quetion I still have regrds child processes. I understand they 
> finish on their own, but what if I need to kill those processing because 
> of an obvious problem.  How can I do that?
>   
If you kill the parent, then all of the children should die.  On Ubuntu,
r-base and r-base-dev are the packages; see
http://cran.r-project.org/bin/linux/ubuntu/README 
You don't need the most recent.  Just 2.14.0 or higher.

-- 
Rodney Sparapani, PhD  Center for Patient Care and Outcomes Research
Sr. Biostatistician               http://www.mcw.edu/pcor
4 wheels good, 2 wheels better!   Medical College of Wisconsin (MCW)
WWLD?:  What Would Lombardi Do?   Milwaukee, WI, USA



More information about the R-sig-hpc mailing list