ioos / notebooks_demos

Notebook demonstrations and examples
https://ioos.github.io/notebooks_demos/
MIT License
19 stars 19 forks source link

Binder to launch interactive RStudio session #367

Closed MathewBiddle closed 3 years ago

MathewBiddle commented 3 years ago

@bbest mentioned this at one point. I hope that's the right github handle!

See https://github.com/binder-examples/r

Not sure what to put in it yet, but we can cross that bridge once we figure out if it's something to add.

emiliom commented 3 years ago

I don't know if anything can be adapted from OceanHackWeek 2020, but we had RStudio deployed on our JupyterHub with conda. Our constraints and scope was different (we wanted to ensure it worked from the common Python & R conda environment), but still, there may be something of value there. @ocefpaf would have more specifics.

ocefpaf commented 3 years ago

@MathewBiddle we have a prototype for a Dockerfile that will bring RStudio. I'm also in touch with some folks that works at RStudio to guide us in the best practices to do this on binder. More on this soon...

MathewBiddle commented 3 years ago

I wonder if this will help me dynamically add time-series plots in a map popup, as I'm trying to do with https://github.com/ioos/notebooks_demos/pull/370.

ocefpaf commented 3 years ago

I wonder if this will help me dynamically add time-series plots in a map popup, as I'm trying to do with #370.

Probably not. For that we would need a live kernel. The thebe is one way to do it, not sure how hard it is to implement.

ocefpaf commented 3 years ago

@MathewBiddle we never got the Dockerfile to work properly on binder. I don't think it is worth investing on this at the moment. We would require a live custom JupyterHub to support all that and this is beyond the scope of the site.