ormation/updates. If this ends up being a bug in R, please report
> (and with a reproducible example, if it is not obvious from the source
> code).
>
> Best
> Tomas
>
>
> On 8/2/19 10:23 AM, Sun Yijiang wrote:
> > The R script I run daily for hours looks like
The R script I run daily for hours looks like this:
while (!finish) {
Sys.sleep(0.1)
time = as.integer(format(Sys.time(), "%H%M")) # always crash here
if (new.data.timestamp() <= time)
next
# ... do some jobs for about 2 minutes ...
gc()
}
Basically it waits for new da
also ported
> to R-patched. In fact rmChild() is used in mccollect(wait=FALSE).
>
> Best
> Tomas
>
> On 5/19/19 11:39 AM, Sun Yijiang wrote:
> > I've been hacking with parallel package for some time and built a
> > parallel processing framework with it. However, al
I've been hacking with parallel package for some time and built a
parallel processing framework with it. However, although very rarely,
I did notice "ignoring SIGPIPE signal" error every now and then.
After a deep dig into the source code, I think I found something worth
noticing.
In short, wring
I've been hacking with parallel package for some time and built a
parallel processing framework with it. However, although very rarely,
I did notice "ignoring SIGPIPE signal" error every now and then.
After a deep dig into the source code, I think I found something worth
noticing.
In short, wring
Thanks for the details. I’m new to R, and I’m not blaming anything here,
just that I’m still not clear what good it makes to keep this inconsistency
between R and Rscript. To me (and probably to many others from Perl/Python
etc.), this is shockingly weird. I can live with that, and I also want to
k
's my
confusion.
Steve
2017-12-26 20:46 GMT+08:00 Dirk Eddelbuettel :
>
> On 26 December 2017 at 15:24, Sun Yijiang wrote:
> | After looking into C source code, I found that Rscript by default fills
> | environment variable R_DEFAULT_PACKAGES with
> | "datasets,utils,grD
Consider this script (with h5 installed):
$ cat test.R
library(h5)
name <- tempfile()
f <- h5file(name)
file.remove(name)
$ Rscript test.R
Error in initialize(value, ...) :
cannot use object of class "character" in new(): class "H5File" does not
extend that class
Calls: h5file -> new -> initia