zmjones / edarf

exploratory data analysis using random forests
MIT License
68 stars 11 forks source link

Cores #4

Closed flinder closed 10 years ago

flinder commented 10 years ago

mclapply with detect cores doe not work on windows bc it detects several cores but can't use them. I don't completely understand the stuff you wrote yet so I don't want to mess with it but we could do: if(.Platform$OS.type=='windows') CORES <- 1 that should work.

zmjones commented 10 years ago

yea I was just thinking about that. I am going to read up on how to do parallelization on windows sometime in the next few days and then implement some switching. i am sure there is a way to do it, and at least with party it is so slow that it really has to be parallelized for datasets of any size.

zmjones commented 10 years ago

looks like parLapply will work on Windows, but it requires a few more setup steps. will see if i can implement it before climbing!