Use R in Jupyter Notebook

Md. Ahsanul Islam | Tuesday, Jul 19, 2022 min read

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