I am trying to install R kernel into Jupyter. After following the instructions in https://irkernel.github.io/installation/, I get the following error message. I use Enthought Canopy and Python 2.7. I have R installed and working independently.
>IRkernel::installspec()
File "/Users/Llewelyn_home/Library/Enthought/Canopy_64bit/User/bin/jupyter-kernelspec", line 8
from jupyter_client.kernelspecapp import KernelSpecApp.launch_instance
^
SyntaxError: invalid syntax
Any ideas on how to fix this please?