You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-17Lines changed: 42 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,33 +3,57 @@
3
3
I usually rely on the [conda package manager](https://docs.conda.io/en/latest/) to manage my environments during development. Thanks to [conda-forge](https://conda-forge.org/) and [bioconda](https://bioconda.github.io/) most R packages are now also available through conda. For production,
4
4
I [convert them to containers](https://github.com/grst/containerize-conda) as these are easier to share.
5
5
6
-
Unfortunately, there seems to be [no straightforward way](https://community.rstudio.com/t/start-rstudio-server-session-in-conda-environment/12516/15) to use conda envs in Rstudio server. This repository provides two approaches to make rstudio server work with conda envs.
6
+
Unfortunately, there seems to be [no straightforward way](https://community.rstudio.com/t/start-rstudio-server-session-in-conda-environment/12516/15) to use conda envs in Rstudio server. This repository provides three approaches to make rstudio server work with conda envs.
7
7
8
-
*[Running Rstudio Server in a Singularity Container](#running-rstudio-server-in-singularity)
9
-
*[Running Rstudio Server in a Docker/Podman Container](#running-rstudio-server-in-a-container)
8
+
*[Running Rstudio Server in a Singularity Container](#running-rstudio-server-with-singularity)
9
+
*[Running Rstudio Server in a Docker/Podman Container](#running-rstudio-server-with-podmandocker)
10
10
*[Running Rstudio Server locally](#running-locally)
11
11
12
-
## Running Rstudio Server in Singularity
12
+
## Running Rstudio Server with Singularity
13
+
14
+
With this approach Rstudio Server runs in a Singularity container (based on [rocker/rstudio](https://hub.docker.com/r/rocker/rstudio)).
15
+
The conda environment gets mounted into the container - like that there's no need to rebuild the container to add a package and
16
+
`install.packages` can be used without issues. The container-based approach has the following benefits:
17
+
18
+
* Authentication works ([#3](https://github.com/grst/rstudio-server-conda/issues/3))
19
+
* Several separate instances of Rstudio server can run in parallel, even without the *Pro* version.
0 commit comments