JMP currently uses the Python package rpy2 to connect to R. Included with JMP 19 is the jmpex package, an interface to rpy2.
The jmpex package reduces the complexity of marshaling between JSL, Python, and R, and isolates you from the specifics of the rpy2 package.
All JSL R functions have been rewritten to call the functions in the jmpex.R.R class. Python code can directly utilize the jmpex package.
Using JMPEX and JSL you can:
• submit statements to R from within a JSL script.
• exchange data between JMP and R.
• display graphics produced by R.
Text output and error messages from R appear in the JMP log window.
Although some changes to the JSL R API were unavoidable, there should be minimal impact to previous JSL R scripts.
The functions: