cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JMP Scripters Club Discussions

Choose Language Hide Translation Bar

Scripters Club Recording: R is Back Again in JMP 19 - Exploring R and Python Integration

R is making a powerful return in JMP 19, and it’s bringing Python along for the ride! Join Paul Nelson and Evan Carr from JMP Software Development team as they walk us through the new capabilities for R and Python integration in the latest release. This session will focus on how these languages now work more seamlessly with JSL, enabling more flexible and powerful scripting workflows.

2 REPLIES 2
creutzml
Level I

Re: Scripters Club Recording: R is Back Again in JMP 19 - Exploring R and Python Integration

Hey Paul, is it possible to load and utilize different R packages within JMP? For instance, when generating a code block to use with `R Submit`, can I do "library(ggplot2)" to then plot a ggplot object?

Re: Scripters Club Recording: R is Back Again in JMP 19 - Exploring R and Python Integration

Only if the library install doesn't open up a dialog, such as picking a mirror repository, and you need to run ggplot without a UI. it needs to plot to a file otherwise both instances run the risk of competing / corrupting the JMP application's main window loop.  It's a limitation of Python running from within JMP's process space instead of as a standalone executable.  

It's probably better to do R package installs from the R environment outside of JMP.  There is no special JMP specific space for R package installations, it just uses the R environment's R packages.