Displaying 5 results from an estimated 5 matches for "r_snow_outfil".
Did you mean:
r_snow_outfile
2018 Mar 09
2
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...uot;a+b", timeout = timeout)
> structure(list(con = con), class = if (useXDR)
> "SOCKnode"
> else "SOCK0node")
> }
> master <- "localhost"
> port <- NA_integer_
> outfile <- Sys.getenv("R_SNOW_OUTFILE")
> methods <- TRUE
> useXDR <- TRUE
> for (a in commandArgs(TRUE)) {
> pos <- regexpr("=", a)
> name <- substr(a, 1L, pos - 1L)
> value <- substr(a, pos + 1L, nchar(a))
> switch(name, MASTER = {
>...
2018 Mar 09
2
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
BACKGROUND:
While troubleshooting random, occasionally occurring, errors from
parallel::makePSOCKcluster("localhost", port = 11000);
Error in socketConnection("localhost", port = port, server = TRUE,
blocking = TRUE, :
cannot open the connection
I had another look at parallel:::newPSOCKnode(), which is used
internally to set up each background worker. It is designed to,
2018 Mar 10
1
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...tructure(list(con = con), class = if (useXDR)
>>> "SOCKnode"
>>> else "SOCK0node")
>>> }
>>> master <- "localhost"
>>> port <- NA_integer_
>>> outfile <- Sys.getenv("R_SNOW_OUTFILE")
>>> methods <- TRUE
>>> useXDR <- TRUE
>>> for (a in commandArgs(TRUE)) {
>>> pos <- regexpr("=", a)
>>> name <- substr(a, 1L, pos - 1L)
>>> value <- substr(a, pos + 1L, nchar(...
2018 Mar 09
0
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...cking = TRUE,
open = "a+b", timeout = timeout)
structure(list(con = con), class = if (useXDR)
"SOCKnode"
else "SOCK0node")
}
master <- "localhost"
port <- NA_integer_
outfile <- Sys.getenv("R_SNOW_OUTFILE")
methods <- TRUE
useXDR <- TRUE
for (a in commandArgs(TRUE)) {
pos <- regexpr("=", a)
name <- substr(a, 1L, pos - 1L)
value <- substr(a, pos + 1L, nchar(a))
switch(name, MASTER = {
master <- value
},...
2018 Mar 09
0
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...eout)
>> structure(list(con = con), class = if (useXDR)
>> "SOCKnode"
>> else "SOCK0node")
>> }
>> master <- "localhost"
>> port <- NA_integer_
>> outfile <- Sys.getenv("R_SNOW_OUTFILE")
>> methods <- TRUE
>> useXDR <- TRUE
>> for (a in commandArgs(TRUE)) {
>> pos <- regexpr("=", a)
>> name <- substr(a, 1L, pos - 1L)
>> value <- substr(a, pos + 1L, nchar(a))
>> swi...