search for: getclusteropt

Displaying 13 results from an estimated 13 matches for "getclusteropt".

2007 Jun 24
1
There was a problem by the use of snow.
...e = 2 * needed; + size_t newsize = 2 * needed; mb->buf = realloc(mb->buf, newsize); if (mb->buf == NULL) error(_("cannot allocate buffer")); The time-out of read and write was not set. 51:sendData.SOCKnode <- function(node, data) { 52: timeout <- getClusterOption("timeout") 53: old <- options(timeout = timeout); 54: on.exit(options(old)) 55: serialize(data, node$con) 56: } 57: 58:recvData.SOCKnode <- function(node) { 59: timeout <- getClusterOption("timeout") 60: old <- options(timeout = timeout); 61:...
2020 Jan 10
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
.../R/unix/forkCluster.R (revision 77648) +++ src/library/parallel/R/unix/forkCluster.R (working copy) @@ -30,6 +30,7 @@ newForkNode <- function(..., options = defaultClusterOptions, rank) { + allowFork(assert = TRUE) options <- addClusterOptions(options, list(...)) outfile <- getClusterOption("outfile", options) port <- getClusterOption("port", options) Index: src/library/parallel/R/unix/mclapply.R =================================================================== --- src/library/parallel/R/unix/mclapply.R (revision 77648) +++ src/library/parallel/R/unix/...
2020 Jan 10
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...brary/parallel/R/unix/forkCluster.R (working copy) >> @@ -30,6 +30,7 @@ >> newForkNode <- function(..., options = defaultClusterOptions, rank) >> { >> + allowFork(assert = TRUE) >> options <- addClusterOptions(options, list(...)) >> outfile <- getClusterOption("outfile", options) >> port <- getClusterOption("port", options) >> Index: src/library/parallel/R/unix/mclapply.R >> =================================================================== >> --- src/library/parallel/R/unix/mclapply.R (revision 7764...
2020 Jan 10
0
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...+++ src/library/parallel/R/unix/forkCluster.R (working copy) > @@ -30,6 +30,7 @@ > > newForkNode <- function(..., options = defaultClusterOptions, rank) > { > + allowFork(assert = TRUE) > options <- addClusterOptions(options, list(...)) > outfile <- getClusterOption("outfile", options) > port <- getClusterOption("port", options) > Index: src/library/parallel/R/unix/mclapply.R > =================================================================== > --- src/library/parallel/R/unix/mclapply.R (revision 77648) > +++ sr...
2020 Jan 10
6
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...opy) >>>> @@ -30,6 +30,7 @@ >>>> newForkNode <- function(..., options = defaultClusterOptions, rank) >>>> { >>>> + allowFork(assert = TRUE) >>>> options <- addClusterOptions(options, list(...)) >>>> outfile <- getClusterOption("outfile", options) >>>> port <- getClusterOption("port", options) >>>> Index: src/library/parallel/R/unix/mclapply.R >>>> =================================================================== >>>> --- src/library/parallel/R...
2019 Apr 15
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
On Mon, 15 Apr 2019 at 08:44, Tomas Kalibera <tomas.kalibera at gmail.com> wrote: > > On 4/13/19 12:05 PM, I?aki Ucar wrote: > > On Sat, 13 Apr 2019 at 03:51, Kevin Ushey <kevinushey at gmail.com> wrote: > >> I think it's worth saying that mclapply() works as documented > > Mostly, yes. But it says nothing about fork's copy-on-write and memory >
2020 Jan 11
1
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...@ >>>>>> newForkNode <- function(..., options = defaultClusterOptions, rank) >>>>>> { >>>>>> + allowFork(assert = TRUE) >>>>>> options <- addClusterOptions(options, list(...)) >>>>>> outfile <- getClusterOption("outfile", options) >>>>>> port <- getClusterOption("port", options) >>>>>> Index: src/library/parallel/R/unix/mclapply.R >>>>>> =================================================================== >>>>>...
2020 Jan 10
0
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...ter.R (working copy) > >> @@ -30,6 +30,7 @@ > >> newForkNode <- function(..., options = defaultClusterOptions, rank) > >> { > >> + allowFork(assert = TRUE) > >> options <- addClusterOptions(options, list(...)) > >> outfile <- getClusterOption("outfile", options) > >> port <- getClusterOption("port", options) > >> Index: src/library/parallel/R/unix/mclapply.R > >> =================================================================== > >> --- src/library/parallel/R/unix/mclap...
2020 Jan 10
0
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...-30,6 +30,7 @@ > >>>> newForkNode <- function(..., options = defaultClusterOptions, rank) > >>>> { > >>>> + allowFork(assert = TRUE) > >>>> options <- addClusterOptions(options, list(...)) > >>>> outfile <- getClusterOption("outfile", options) > >>>> port <- getClusterOption("port", options) > >>>> Index: src/library/parallel/R/unix/mclapply.R > >>>> =================================================================== > >>>> --- sr...
2020 Jan 11
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...@ >>>>>> newForkNode <- function(..., options = defaultClusterOptions, rank) >>>>>> { >>>>>> + allowFork(assert = TRUE) >>>>>> options <- addClusterOptions(options, list(...)) >>>>>> outfile <- getClusterOption("outfile", options) >>>>>> port <- getClusterOption("port", options) >>>>>> Index: src/library/parallel/R/unix/mclapply.R >>>>>> =================================================================== >>>>>...
2020 Jan 10
0
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...-30,6 +30,7 @@ > >>>> newForkNode <- function(..., options = defaultClusterOptions, rank) > >>>> { > >>>> + allowFork(assert = TRUE) > >>>> options <- addClusterOptions(options, list(...)) > >>>> outfile <- getClusterOption("outfile", options) > >>>> port <- getClusterOption("port", options) > >>>> Index: src/library/parallel/R/unix/mclapply.R > >>>> =================================================================== > >>>> --- sr...
2020 Jan 11
1
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...@ >>>>>> newForkNode <- function(..., options = defaultClusterOptions, rank) >>>>>> { >>>>>> + allowFork(assert = TRUE) >>>>>> options <- addClusterOptions(options, list(...)) >>>>>> outfile <- getClusterOption("outfile", options) >>>>>> port <- getClusterOption("port", options) >>>>>> Index: src/library/parallel/R/unix/mclapply.R >>>>>> =================================================================== >>>>>...
2020 Jan 11
0
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...t;> newForkNode <- function(..., options = defaultClusterOptions, rank) > >>>>>> { > >>>>>> + allowFork(assert = TRUE) > >>>>>> options <- addClusterOptions(options, list(...)) > >>>>>> outfile <- getClusterOption("outfile", options) > >>>>>> port <- getClusterOption("port", options) > >>>>>> Index: src/library/parallel/R/unix/mclapply.R > >>>>>> =================================================================== >...