Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st. We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here. Need help or have questions? Drop us a line at [email protected]
Created on 09-30-201911:55 AM - edited on 04-21-202604:36 AM by GrazittiAPI
A number of customers want to run CDSW R sessions within the Jupyter Notebook. This is unsuccessful within CDSW when a customer attempts to perform this and results in the following errors depending on how you execute Jupyter.
Execution halted
WARNING:root:kernel 8166ed20-6142-44d1-92b8-9a0ae11777a9 restarted
Error in ok_device(filename, ...) : X11 is not available
Calls: <Anonymous> ... evaluate -> dev.new -> do.call -> <Anonymous> -> ok_device
Execution halted
By default the Jupyter R Kernel is not shipped with CDSW 1.5+. In order to get this to work you will have to install the Jupyter R Kernel manually. The instructions are below as follows:
I'm stuck on this and would really like to use R in jupyterlab as CDSW is putting it plainly a glorified text editor and so would a lot of my colleagues