Skip to content
Advertisement

Tag: ggpubr

How to install R library “ggpubr” in a Docker image?

I tried to install the R library ggpubr in a docker image. I pulled the r-base:3.6.3 and the following is my Dockerfile: and here is my Rinstall_packages.R file: each time I got the output like this: I tried to install the library in batch mode: It works. However, after I exited the bash, I still can not use the library.

Advertisement