https://github.com/binder-examples/r-conda
R and RStudio via conda packages in repo2docker
https://github.com/binder-examples/r-conda
binder binder-ready conda mybinder rstudio
Last synced: 5 months ago
JSON representation
R and RStudio via conda packages in repo2docker
- Host: GitHub
- URL: https://github.com/binder-examples/r-conda
- Owner: binder-examples
- Created: 2020-01-30T18:37:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-24T21:11:28.000Z (9 months ago)
- Last Synced: 2024-08-09T02:19:58.495Z (8 months ago)
- Topics: binder, binder-ready, conda, mybinder, rstudio
- Size: 9.77 KB
- Stars: 30
- Watchers: 5
- Forks: 53
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - binder-examples/r-conda - R and RStudio via conda packages in repo2docker (Others)
README
# r-conda
[](https://mybinder.org/v2/gh/betatim/r-conda/master?urlpath=rstudio)
> R and RStudio in repo2docker without waiting for packages to compile!
Jupyter+R: [](http://mybinder.org/v2/gh/binder-examples/r-conda/master?filepath=index.ipynb)
RStudio: [](http://mybinder.org/v2/gh/binder-examples/r-conda/master?urlpath=rstudio)
Binder supports using R and RStudio, with libraries pinned to a specific versions.
Install R itself and your required R packages via conda packages. Installing conda packages is faster than
installing CRAN packages. This is because CRAN packages need compiling during the install process and conda
packages do not.For some R packages there is no corresponding conda-forge package yet, in that case take a look at https://github.com/binder-examples/r. Note that these two approaches cannot be combined, so you cannot install R packages via Conda and via an `install.R` file at the same time. You can check if a required R package is available on the Conda Forge website at https://conda-forge.org/feedstock-outputs/ by searching for `r-PACKAGENAME`. You can install R packges from other sources using a `postBuild` script.
Both [RStudio](https://www.rstudio.com/) and [IRKernel](https://irkernel.github.io/)
are installed by default, so you can use either the Jupyter notebook interface or
the RStudio interface.