[Rd] SVG Error on Windows if Multiplication Character Present

2021-04-07 Thread Dario Strbenac
Good day, The example below fails on Windows with Error in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x, x$y: Metric information not available for this family/device. library(ggplot2) aPlot <- ggplot(ToothGrowth, aes(x = factor(dose), y = len)) + geom_boxplot() + ggtitle("

[Rd] memory consumption of nested (un)serialize of sys.frames()

2021-04-07 Thread Andreas Kersting
Hi, please consider the following minimal reproducible example: Create a new R package which just contains the following two (exported) objects: crash_dumps <- new.env() f <- function() { x <- runif(1e5) dump <- lapply(1:2, function(i) unserialize(serialize(sys.frames(), NULL))) assign("

Re: [Rd] [External] memory consumption of nested (un)serialize of sys.frames()

2021-04-07 Thread luke-tierney
On Wed, 7 Apr 2021, Andreas Kersting wrote: Hi, please consider the following minimal reproducible example: Create a new R package which just contains the following two (exported) objects: I would not expect this behavior and I don't see it when I make such a package (in R 4.0.3 or R-devel

Re: [Rd] [External] memory consumption of nested (un)serialize of sys.frames()

2021-04-07 Thread Andreas Kersting
Hi Luke, Please see https://github.com/akersting/dumpTest for the package. Here a session showing my issue: > library(dumpTest) > sessionInfo() R version 4.0.5 (2021-03-31) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Debian GNU/Linux 10 (buster) Matrix products: default BLAS: /usr/l

Re: [Rd] [External] memory consumption of nested (un)serialize of sys.frames()

2021-04-07 Thread Dirk Eddelbuettel
On 7 April 2021 at 16:06, Andreas Kersting wrote: | Hi Luke, | | Please see https://github.com/akersting/dumpTest for the package. | | Here a session showing my issue: | | > library(dumpTest) | > sessionInfo() | R version 4.0.5 (2021-03-31) | Platform: x86_64-pc-linux-gnu (64-bit) | Running un

Re: [Rd] [External] memory consumption of nested (un)serialize of sys.frames()

2021-04-07 Thread luke-tierney
No issues here with that either. Looks like something is different on your end. Best, luke On Wed, 7 Apr 2021, Andreas Kersting wrote: Hi Luke, Please see https://github.com/akersting/dumpTest for the package. Here a session showing my issue: library(dumpTest) sessionInfo() R version 4.0

Re: [Rd] [External] memory consumption of nested (un)serialize of sys.frames()

2021-04-07 Thread Andreas Kersting
Hi Dirk, hi Luke, Thanks for checking! I could narrow it down further. I have the issue only if I install --with-keep.source, i.e. R CMD INSTALL --with-keep.source dumpTest Since this is the default in RStudio when clicking "Install and Restart", I was always having the issue - also from base