I would like to know if it is possible to add the R kernel to SystemLink Jupyter. Looking at the documentation for JupyterLab, this looks rather easy: https://jupyterlab.readthedocs.io/en/latest/user/documents_kernels.html
Is this possible, and has anyone used R in SystemLink Jupyter?
I have developed some R Scripts in R Studio and am wondering if I might be able to migrate them into Jupyter on my SystemLink Server to potentially automate the process and allow the data to be easily viewed.
Give this a try.
Thanks Josh, I was able to get to step 3.1, but could not complete 3.2. Although running the R console did not install IRkernel for all users. I had to specify the lib:
install.packages("IRkernel", lib="C:\Program Files\R\R-3.6.1\library")
When I run IRkernel::spec I get the following error:
jupyter-client has to be installed but "jupyter kernelspec --version" exited with code 127. In addition: Warning message: In system2("jupyter", c("kernelspec", "--version"), FALSE, FALSE) : '"jupyter"' not found
I believe the problem might be that jupyter-kernelspec.exe is not being found. As a workaround, could you try to use setwd from the R console to set the current directory to "c:\Program Files\National Instruments\Shared\Skyline\Python\3.7\Scripts" before running step 3.2?
That did the trick! Let me document the steps I took in case anyone else comes along
install.packages("IRkernel", lib="C:/Program Files/R/R-3.6.1/library")
setwd('c:/program files/national instruments/shared/skyline/python/3.7/scripts')
IRkernel::installspec(user=FALSE, prefix='"c:/program files/national instruments/shared/skyline/python/3.7"')