Bernando Purba
Bernando Purba

Reputation: 551

Installin R in Jupyter Notebook

I am trying to install R in Anaconda in order to use it in Jupyter Notebook. I have the version of Anaconda3-4.4.0-Windows-x86_64 installed on Windows10.

I installed R package with conda run : conda install -c r r-irkernel.

Unfortunately, when I started R in Jupyter Notebook, I got message "kernel error" (picture attached).

Can anyone help me to solve this problem?Kernel Error

Upvotes: 4

Views: 3028

Answers (3)

Nabil Ziedan
Nabil Ziedan

Reputation: 11

Actually, you need to install more other packages in order to run R kernel in Jupyter, and this nice article from Datacamp that might help you to do so. However, as Andrey mentioned you still be able to use R env by installing r-essentials in current environment OR separate env

conda install -n my_r_env -c r r-essentials

Upvotes: 1

Saurabh Jain
Saurabh Jain

Reputation: 1702

Try creating a new environment.

conda create -n my-r-env -c r r-essentials

Upvotes: 0

Andrey Lukyanenko
Andrey Lukyanenko

Reputation: 3851

I think that you need to also use this command:

conda install -c r r-essentials

Upvotes: 3

Related Questions