Hi I am a new user of Anaconda. I am taking a class that requires me to used Rkernel in the Jupiter Notebook. I installed and unstalled Anaconda and R twice becauase my Jupiter notebook showed python show as Python [conda env:base] and R showed as R[conda env:base] which seems different than others people. Tonight I uninstalled and reinstalled Anaconda and R. And it messed up my MacBook system, I couldn’t use any app. I had to erase everything and reset my MacBook. Now, I create the environment and found that I cannot select R.
I also type some code on terminal.
conda install -c r r-essentials
conda install R
It show that I don’t have the package. Can anyone help me out? Do I miss anything or I need to reset my MacBook again?
I would advise to create a new fresh environment outside of your base environment to start. As installing packages in your base environment might break your Anaconda installer.
To do so you will use the command conda create --name <place env name here>
This way conda is not trying to install r and also solve for environment dependancies that are in the base environment.
From there you can install r in the new environment, by activating it first and then using the install command as shown below:
conda activate <place env name here>
conda install r
The defaults channel that you have should include our R packages by default.
Let me know if you receive the same issue of the install not being able to find the package.
If this lets you install r then you will want to install Jupyter notebooks as well with the command below:
conda install notebook
As this new environment will have no packages to start until you install them.