Awesome
SoS language module for R
SoS Notebook is a Jupyter kernel that allows the use of multiple kernels in one Jupyter notebook. Although SoS Notebook can work with any kernels using magics %expand
, %capture
and %render
, a language module allows the exchange of variables among supported languages using magics %get
, %put
, %use
, and %with
. This module provides a language module for the R programming language.
Installation
Conda installation
If you are using a conda environment,
conda install sos-r -c conda-forge
installs all required component of sos-r
, including sos-notebook
, R
, irkernel
, and required packages.
Pip installation
If you are not using a conda environment, or if you would like to use a standalone R
installation (instead of conda's R), you should install sos-notebook
, sos-r
etc separately. Please refer to Running SoS for details.
Documentation
After proper installation of sos-r
, you should see language R
in the language selection dropdown box of a SoS Notebook. Please refer to SoS Homepage and SoS Notebook Documentation for details.