Displaying 2 results from an estimated 2 matches for "mllg".
Did you mean:
mll
2016 Aug 30
1
mcparallel / mccollect
...mcparallel(f(10), name = "jobname1")$pid)
jobs = c(jobs, mcparallel(f(3), name = "jobname2")$pid)
for (i in 1:13) {
message("\ni = ", i)
print(mccollect(jobs, wait = FALSE, timeout = 0))
Sys.sleep(1)
}
I've created a small patch
(<https://gist.github.com/mllg/82410d0f564a7a24251e9e747e210b39>)
which applies the same mechanism to name the results for wait=FALSE as
it was already implemented for wait=TRUE. I think the documentation is
already rather describing the behavior after my patch than before my
patch.
A note on the need to collect results twice...
2019 Dec 15
1
system2 doesn't quote stdin on unix, unlike stdout, stderr & input and on Windows
...e and thus might only be available to GitHub account holders. The results are:
- BatchJobs: R/WorkerLinux.R; stdin is "" by default, filenames generated by
cfBrewTemplate aren't quoted
- batchtools: callers of runOSCommand actually quote the stdin argument!
https://github.com/mllg/batchtools/commit/4a5818d70c82c8842c0b8bded224dbb423b79f33
- nat: R/cmtk.R, R/xformpoints.R; stdin is tempfile(...)
- credentials: R/credential-api.R; stdin is passed as-is, tempfile() or
"" in default arguments
- runjags: R/setup.jags.jagsfile.R; stdin is constant "script.cmd&...