I have already installed Jupyter notebook in my ubuntu 16.04 machine. In jupyter notebook there is by default python installed. Now I want to use R from jupyter notebook. >
Running this command from RStudio will show this error. When you run this command from command line/ terminal then everything will be fine.
So just type R
from your command line.
Then Run below commands:
install.packages('devtools')
devtools::install_github('IRkernel/IRkernel')
IRkernel::installspec()