Update your Conda Environment!

We have an environment called fastai, but let’s say we want to add to it…say R.

conda install --name fastai PACKAGE -PARAM

so for R:

conda install --name fastai r-essentials

Also, if your environment is currently active (with source), you can just do:

conda install PACKAGE

Source


https://conda.io/docs/user-guide/tasks/manage-pkgs.html

  • I also used this to add cuda80 to my fastai env to utilize my GPU.
2 Likes

So if I have the R essentials installed, does that mean I can start an R script from jupiter notebook while in the fastai environment?

You need to install the r kernel for notebooks in addition to r base:

Activate your env with source

conda install -c r r-irkernel

2 Likes