Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to call Python script from SAS JMP environment using jsl script

I would like to run python script from SAS JMP environment using JSL. What are the options?

like image 545
Felix Avatar asked Dec 30 '16 13:12

Felix


People also ask

How do I run a Python script from JSL?

use python procees to run this command "jmp.exe *. jsl" and that would open jmp and run the *. jsl script and then you can import whatever you generate from jmp back in to python.

How do I run a JSL script in JMP?

Running a JSL script outside of a projectOpen a Script Editor window by selecting File > New > Script. Paste and run the following script: dt = Open( "$SAMPLE_DATA/Big Class. jmp" );

Can you use Python in JMP?

The JMP-Python integration allows JMP users to interact with a large amount of scientific, statistical, and data analysis tools written in Python. JMP implements this capability by loading the Python shared library into the running JMP process.

How do I open a JSL file in JMP?

In JMP, File -> Open for files of type JMP Scripts (*. JSL), the OPEN button has options for Open and Run. If the JSL file begins with \\!, Open and Run both run the JSL wiout an option of editing the file without running it first.


1 Answers

Please look at SAS communities - that would be better source of information.

Some search shows that you can call python script from JSL. Here are two examples:

https://communities.sas.com/t5/SAS-Communities-Library/Tip-How-to-execute-a-Python-script-in-SAS-Enterprise-Miner/ta-p/223761

https://community.jmp.com/t5/Discussions/Best-method-to-get-a-python-object-into-JMP/td-p/15158

like image 128
Michał Zaborowski Avatar answered Oct 18 '22 04:10

Michał Zaborowski