Re: [R] parallels package -can't create cluster

2013-10-09 Thread Carl Witthoft
Never mind -- after getting detailed help at SO,  I rebooted  Windows and 
makeCluster() worked just fine.  I have no idea what cruft in my system was
getting in the way, but all's well.





--
View this message in context: 
http://r.789695.n4.nabble.com/parallels-package-can-t-create-cluster-tp4677850p4677891.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] parallels package -can't create cluster

2013-10-08 Thread Carl Witthoft
I am trying to use the parallel package, and found that makeCluster 
hangs (and no apparent actions have taken place). This is Windows7-64, 
Enterprise, R 3.0.1 .


I've traced the hang to the following line in newPSOCKnode :

con - socketConnection(localhost, port = port, server = TRUE,
blocking = TRUE, open = a+b, timeout = timeout)
That command stalls. My suspicion is this is due to some overzealous IT 
rules laid down on our work computers, but would welcome any 
suggestions as to how to trace (and fix) the source of the problem.


While in debug mode, I did a dump just before the socketConnection call:

Browse[3] ls.str()
arg :  chr parallel:::.slaveRSOCK()
cmd :  chr 
\C:/Users/carl.witthoft/Documents/R/R-3.0.1/bin/x64/Rscript\ -e 
\parallel:::.slaveRSOCK()\ MASTER=localhost PORT=11017 OUT=| 
__truncated__
env :  chr MASTER=localhost PORT=11017 OUT=/dev/null TIMEOUT=2592000 
METHODS=TRUE XDR=TRUE

machine :  chr localhost
manual :  logi FALSE
master :  chr localhost
methods :  logi TRUE
options : environment: 0x0ccac6a0
outfile :  chr /dev/null
port :  int 11017
rank :  int 1
renice :  int NA
rscript :  chr 
\C:/Users/carl.witthoft/Documents/R/R-3.0.1/bin/x64/Rscript\

timeout :  num 2592000
useXDR :  logi TRUE

Other possibly useful info:

I opened a shell and ran
netsh advfirewall firewall add rule name=Open Port 11017 dir=in 
action=allow protocol=TCP localport=11017


and got an OK response. I ran netstat -a -n and found the following line:

TCP 0.0.0.0:11017 0.0.0.0:0 LISTENING

But running makePSOCKcluster still hangs at the same place.

NEXT: I tried running R from the command line (via cygwin bash), and the 
error message I get is


Error in loadhistory(file) : no history mechanism available Execution 
halted


, after which ctrl-C returns me to the R-prompt.


--

Sent from a parallel universe almost, but not entirely,
nothing at all like this one.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.