Open ChristineStawitz-NOAA opened 6 months ago
There may be an easier way now, looking at the rocker images? I haven't tried it, though.
https://rocker-project.org/images/versioned/rstudio.html#overview
moved to parking lot - this should be easy to set up, but hasn't been requested
I was curious and tested this out: it's as easy as adding this line to the "features" section of the devcontainer json:
"ghcr.io/rocker-org/devcontainer-features/rstudio-server:0": {}
And then after rebuilding the container, you can type rserver
into the command line to get an session going (opens on a port, that you can open as a separate browser window).
More details
Issue details
I added this to my to-do list over a month ago and have not yet done it, so want to bring it up either to de-prioritize or ask for help.
We could use this approach to set up a codespace that runs RStudio rather than vscode: https://github.com/revodavid/devcontainers-rstudio