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)
Describe the bug
With the current
bioconductor_docker:develimage a call toggplot2out of the box crashesR/RStudiowith an error like this:Upon plotting, the
Rconsole freezes and crashes with above error upon enteringReturn.To Reproduce
Steps to reproduce the behavior:
docker pull bioconductor/bioconductor_docker:develCall
Use a browser and navigate to
localhost:8787.In the
Rcosole installggplot2withBiocManager::install("ggplot2", update = FALSE)- UPDATING OTHERRPACKAGES DOES NOT HELPRun the following (derived from
?ggplot2::ggplot) - DO NOT SOURCE, but step through script (Shift+ Return):Expected behavior
Plot to appear
Desktop (please complete the following information):