-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Describe the bug
With the current bioconductor_docker:devel image a call to ggplot2 out of the box crashes R/RStudio with an error like this:
29 Apr 2021 12:10:12 [rsession-rstudio] ERROR session hadabend; LOGGED FROM: rstudio::core::Error {anonymous}::rInit(const rstudio::r::session::RInitInfo&) src/cpp/session/SessionMain.cpp:680
Upon plotting, the R console freezes and crashes with above error upon entering Return.
To Reproduce
Steps to reproduce the behavior:
-
docker pull bioconductor/bioconductor_docker:devel -
Call
docker run -d \ -p 127.0.0.1:8787:8787 \ -v /tmp:/tmp \ -e ROOT=TRUE \ -e DISABLE_AUTH=TRUE \ bioconductor/bioconductor_docker:devel -
Use a browser and navigate to
localhost:8787. -
In the
Rcosole installggplot2withBiocManager::install("ggplot2", update = FALSE)- UPDATING OTHERRPACKAGES DOES NOT HELP -
Run the following (derived from
?ggplot2::ggplot) - DO NOT SOURCE, but step through script (Shift+ Return):library(ggplot2) df <- data.frame(gp = factor(rep(letters[1:3], each = 10)), y = rnorm(30)) ds <- do.call(rbind, lapply(split(df, df$gp), function(d) { data.frame(mean = mean(d$y), sd = sd(d$y), gp = d$gp) })) ggplot(df, aes(gp, y)) + geom_point() + geom_point(data = ds, aes(y = mean), colour = 'red', size = 3)
Expected behavior
Plot to appear
Desktop (please complete the following information):
- OS: Manjaro testing
- Browser chromium
- Version Chromium 90.0.4430.93 Arch Linux
Metadata
Metadata
Assignees
Labels
No labels