NOAA-FIMS / FIMS

The repository for development of FIMS
https://noaa-fims.github.io/FIMS/
GNU General Public License v3.0
12 stars 8 forks source link

[Developer Issue]: investigate setting up codespaces that use RStudio IDE #541

Open ChristineStawitz-NOAA opened 6 months ago

ChristineStawitz-NOAA commented 6 months ago

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

k-doering-NOAA commented 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

ChristineStawitz-NOAA commented 6 months ago

moved to parking lot - this should be easy to set up, but hasn't been requested

k-doering-NOAA commented 4 months ago

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