/r

Using R with Jupyter / RStudio on Binder

Primary LanguageJupyter Notebook

Specifying an R environment with a runtime.txt file

Jupyter+R: Binder

RStudio: Binder

RShiny: Binder

Binder supports using R and RStudio, with libraries pinned to a specific snapshot on MRAN.

You need to have a runtime.txt file that is formatted like:

r-<YYYY>-<MM>-<DD>

where YYYY-MM-DD is a snapshot at MRAN that will be used for installing libraries.

You can also have an install.R file that will be executed during build, and can be used to install libraries.

Both RStudio and IRKernel are installed by default, so you can use either the Jupyter notebook interface or the RStudio interface.

This repository also contains an example of a Shiny app.