Re: [R] 'snow' package -- parallel process

2013-09-04 Thread Prof Brian Ripley
On 04/09/2013 18:57, Hui Du wrote: Hi R-community: I heard 'snow' package is a good tool to parallelize processes and speed them up. I tried to use it but was not successful. Could someboy point where I was wrong? Thanks. I want to read a HUGE file to R and hope 'snow' helps me to speed it up

[R] 'snow' package -- parallel process

2013-09-04 Thread Hui Du
Hi R-community: I heard 'snow' package is a good tool to parallelize processes and speed them up. I tried to use it but was not successful. Could someboy point where I was wrong? Thanks. I want to read a HUGE file to R and hope 'snow' helps me to speed it up. Here are codes: library(snow) iFi

[R] snow package, socketConnection error, SSH, in Windows 7 x64

2011-11-22 Thread Артем Харитонов
Hi. I have some problems trying to make cluster via "snow" package and haven't found a solution for my problem in archives and relative topics. I installed ssh server using cygwin and set a password-less SSH Login. In R session after starting ssh service: > system("ssh 10.10.5.15 date") Tue

Re: [R] snow package

2011-06-12 Thread Unger, Kristian, Dr.
Prof Ripley Thanks for your message - you are absolutely right. I should have provided more information. Meanwhile, I found out that loading an R workspace prevented parApply from working properly. The workspace contains many objects and I could not figure out which one was responsible for causin

Re: [R] snow package

2011-06-12 Thread Prof Brian Ripley
On Sun, 12 Jun 2011, Unger, Kristian, Dr. wrote: Hi I try parallelising some code using the snow package and the following lines: cl <- makeSOCKcluster(8) pfunc <- function (x) (if(x <= (-th)) 1 else 0) ###correlation coefficient clusterExport(cl,c("pfunc","th")) cor.c.f <- parApply(cl,tms,c(

[R] snow package

2011-06-12 Thread Unger, Kristian, Dr.
Hi I try parallelising some code using the snow package and the following lines: cl <- makeSOCKcluster(8) pfunc <- function (x) (if(x <= (-th)) 1 else 0) ###correlation coefficient clusterExport(cl,c("pfunc","th")) cor.c.f <- parApply(cl,tms,c(1,2),FUN=pfunc) The parApply results in the error m

[R] snow package on multi core unix box

2007-12-05 Thread Saeed Abu Nimeh
Is the rmpi package (or rpvm) needed to exploit multiple cores on a single unix box using the snow package. The documentation of the package does not provide info about setting up a single machine with multiple cores. Also, if how effective is it to run a bayesian simulation on parallel (or distrib