Skip to content

plasmabio/template-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template materials in R

Example repository to create an environment with course materials in R.

Try it on Binder

Binder Jupyter + R kernel

Binder RStudio

Structure of the repo

This repository is based on the binder-examples/conda example.

repo2docker is the underlying tool that is used to build an environment from a repository.

repo2docker can be configured with several types of files. In the case of this repo:

  • binder/environment.yml: specify dependencies that will be installed using conda
  • binder/postBuild: specify R or Bioconductor packages not available in Anaconda cloud (i.e not installable by conda).

Both JupyterLab and RStudio are installed.

Once created, the environment can be reused without building it again.

For more information, see the extensive rep2docker documentation.

Materials

Materials can be added anywhere to this repository, either at the top level or in subdirectory.

When building the environment, the materials (and any other file) will be copied to the Docker image.

In this example, there is already a test notebook (example-notebook.ipynb) and a test R script (example-script.R).