Use R in Jupyter Notebook


To use R in Jupyter Notebook, make sure you have the following things installed in your computer -

  1. Anaconda distribution
  2. R

Now, to use R in jupyter notebook, follow the steps -

  1. Install IRkernal package.
    install.packages('IRkernel')
    Installing IRkernal
  2. Install kernal spec for the current user.
    IRkernel::installspec()
    Install spec

    If you pass user = FALSE inside the function, then the spec will be installed for all users/system wide.

Done! 😄 👏

R kernal in Jupyter Notebook

Md Ahsanul Islam
Md Ahsanul Islam
Freelance Data Analysis and R Programmer

Statistics graduate student currently researching on econometrics