Ville Voutilainen
2021-09-16
* Views expressed are those of the presenter.
Presentation tested to work in Chrome.
conda activate base
We want to install additional
Our environment
conda create --name dev2018 anaconda python=3.6
r=3.6.0 rest_of_packages
To use Jupyter, we need to register kernels for both new Python and R executables:
conda activate dev2018
python -m ipykernel install --user --name dev2018_py --display-name "dev2018_py"
R
IRkernel::installspec(name='dev2018_r', displayname='dev2018_r')
quit()
conda's benefit comes from dependency management.
Always try installing first with conda! For example:
conda activate dev2018
conda install pckg_name
If installing via conda fails, one can try typical solutions:
# Python
conda activate dev2018
pip install pckg_name
# R
install.packages("pckg_name")
References: