Cannot Install R Packages in Jupyter Notebook

Can't install any R package with jupyter notebook

The CRAN package lifedependencies is now available through Conda Forge.1 I generally recommend that all Conda R environments should source packages from Conda, otherwise one is likely to encounter compilation (really, library linking) issues.

conda install -c conda-forge r-lifedependencies

However, note that this is only available for R 4.0 and 4.1 at this time. If an R 3.6 version truly is required, then please request it by filing an Issue on the feedstock.

For future reference, there are some details on adding CRAN packages to Conda Forge in this answer.


[1]: Note that R packages are typically prefixed with r- in the Conda ecosystem.

R Package Doesn't Install in Jupyter Notebook, But Installs in RStudio and R app

The solution from the question at Is it possible to install bioconductor package 'rain' in R Jupyter notebook? solved my issue as well. I was using Anaconda's version of R. I uninstalled Anaconda and instead installed Jupyter Notebook and IRkernal manually which resolved my issue. See the answer from the above link for full details.



Related Topics



Leave a reply



Submit