For a daily report Rmarkdown script that I would like to encapsulate in a docker container I face a problem with a plotly plot that is created from ggplot facet_grid and then transformed using ggplotly. When I run the script locally on R studio my plot is working as intended: When I run the script ..
I’m creating an image using ggplot2 and ggiraph to my API in plumber. I am using RStudio on Windows. When I create an local API (that plumber provides in Swagger) everything seems ok to me. But, when i use my Docker File with the command docker compose build api and then docker compose up ap ..
# Geslacht gsl <- ggplot(data = df_wwg, aes(ymax=df_wwg$ymax, ymin=df_wwg$ymin, xmax=4, xmin=3, fill=df_wwg$geslacht)) + theme_sb() + geom_rect() + coord_polar("y", start=0, direction=-1) + theme(panel.grid.major.y = element_blank(), legend.direction = "vertical", legend.position=c(0.075,0.075), rect = element_rect(fill = "transparent")) + guides(color=guide_legend(label.position = ‘right’),fill=FALSE) # Leeftijd lft <- ggplot(data = df_wwl, aes(ymax=df_wwl$ymax, ymin=df_wwl$ymin, xmax=4, xmin=3, fill=df_wwl$leeftijd)) + theme_sb() + geom_rect() + coord_polar("y", ..
I am containerizing the software needed for a Snakemake pipeline. Included in this is an R 4.0.2 installation plus Tidyverse and some Bioconductor packages (all via Conda Forge). Mostly everything seems to work, however, one step renders an .Rmd document via knitr::render. The document render runs without error, but the ggplot image in the HTML ..