cytoscape / RCy3

New version of RCy3, redesigned and collaboratively maintained by Cytoscape developer community
MIT License
50 stars 20 forks source link

cyrestAPI() #133

Closed AlexanderPico closed 3 years ago

AlexanderPico commented 3 years ago

Try running cyrestAPI() in RStudio:

 Error in if (getOption("jupyter.in_kernel")) { : 
  argument is of length zero 
AlexanderPico commented 3 years ago

Interestingly, commandsAPI() works just fine.

AlexanderPico commented 3 years ago

This line in RCy3-utils:

IRkernel::jupyter_option_defaults

needs to be run manually in RStudio when building the package??

AlexanderPico commented 3 years ago

This commit appears to fix this more robustly for users who did not manually set this previously: https://github.com/cytoscape/RCy3/commit/e50666fcb783ca391ca1b1c87e658ba482c58e2d