Re: [R] parallel processing with multiple directories

2012-04-18 Thread David Schaefer
Hi Rainier, Thanks for your suggestions. I should have been more specific, I am using multiple cores on a Mac Pro running Snow Leopard. I can see where that makes a difference. --David On 4/18/12 12:13 AM, "Rainer M Krug" wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/04/12 20

Re: [R] parallel processing with multiple directories

2012-04-18 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/04/12 20:06, David Schaefer wrote: > Hello, > > I would like to run some code in parallel with each cluster reading/writing > to a different > working directory. I've tried the following code without success. The error > I get is: "Error > in

Re: [R] parallel processing with multiple directories

2012-04-17 Thread Martin Morgan
On 04/17/2012 11:06 AM, David Schaefer wrote: Hello, I would like to run some code in parallel with each cluster reading/writing to a different working directory. I've tried the following code without success. The error I get is: "Error in setwd(x) : cannot change working directory" library(

Re: [R] parallel processing with multiple directories

2012-04-17 Thread Petr Savicky
On Tue, Apr 17, 2012 at 11:06:05AM -0700, David Schaefer wrote: > Hello, > > I would like to run some code in parallel with each cluster reading/writing > to a different working directory. I've tried the following code without > success. The error I get is: "Error in setwd(x) : cannot change wo

[R] parallel processing with multiple directories

2012-04-17 Thread David Schaefer
Hello, I would like to run some code in parallel with each cluster reading/writing to a different working directory. I've tried the following code without success. The error I get is: "Error in setwd(x) : cannot change working directory" library(parallel) dirs <- list("out1","out2","out3") #