package install issue with FSA and jupyter -

Hi @ sete.gonz. Unfortunately, the RStudio community does not have a very good attitude towards the Conda community and will generally misunderstand or balk at offering help.

BTW, I would also encourage you to stay away from Anaconda, which is a commercial product, and stick to the open source Conda (miniconda).

I believe your problem may be that the Jupyter kernel is not running inside your conda environment (even if it is base). If you are not using conda environments, then you are more likely to run into problems with programs like R and Python installed outside of conda due to issues with libraries used during compilation.

Try this:

  1. Create a conda environment. In that environment:
  2. Install Jupyter
  3. Install R
  4. Install as many of the other R libraries you want to use as possible using conda, including FSA
  5. Install packages for which there are no conda recipes with install.packages(<pkg>, lib="~/R35")
  6. Start Jupyter within that environment.

I'm pretty sure you will not have any trouble.

If you do, and even if you don't, please check out my .RProfile script that helps switch between conda environments from within R.

2 Likes