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

We want to hear your ideas for improving JMP software.

  1. Search: Please search for an existing idea first before submitting a new idea.
  2. Submit: Post your new idea using the Suggest an Idea button. Please submit one actionable idea per post rather than a single post with multiple ideas.
  3. Kudo & Comment Kudo ideas you like, and comment to add to an idea.
  4. Subscribe: Follow the status of ideas you like. Refer to status definitions to understand where an idea is in its lifecycle. (You are automatically subscribed to ideas you've submitted or commented on.)

We consider several factors when looking for what ideas to add to JMP. This includes what will have the greatest benefit to our customers based on scope, needs and current resources. Product ideas help us decide what features to work on next. Additionally, we often look to ideas for inspiration on how to add value to developments already in our pipeline or enhancements to new or existing features.

Choose Language Hide Translation Bar

More options for "Get Script"

WHAT'S GOOD ABOUT JMP

JSL (JMP Scripting Language) is a great tool to ensure reproducibility of your analysis. While it requires some learning for you to be fluent, fortunately, JMP lets you do some analysis with GUI and get a script to reproduce it by clicking the "Get Script" option. This is essential for both learning JSL and making efficient use of it. JSL offers multiple ways to achieve a single task.

 

THE PROBLEM

"Get Script" of most platforms gives you a kind of JSL that's not very popular, the one with "SendToReport" and "Dispatch". For example, the following is a script suggested in "Scripting Platforms" Chapter of the Scripting Guide:

 

Open( "$SAMPLE_Data/Big Class.jmp" ); // I added this line

 

oneObj = Oneway(
  Y( :height ),
  X( :age ),
  Each Pair( 1 ),
  Means( 1 ),
  Mean Diamonds( 1 )
);
oneObj << Unequal Variances( 1 );

 

rep = Report( oneObj );
rep["Oneway Anova"] << Close( 1 );
rep["Means Comparisons"] << Close( 1 );

 

Running this script, you will get a Oneway platform with a nice graph.

Now, you select "Get Script" from the red triangle menu of the report and get the below:


Oneway(
  Y( :height ),
  X( :age ),
  Each Pair( 1 ),
  All Graphs( 0 ),
  Means( 1 ),
  Unequal Variances( 1 ),
  Composition of Densities( 1 ),
  Mean Diamonds( 1 ),
  Std Dev Lines( 1 ),
  SendToReport(
    Dispatch( {}, "Oneway Anova", OutlineBox, {Close( 1 )} ),
    Dispatch( {}, "Means Comparisons", OutlineBox, {Close( 1 )} )
  )
);

 

This is completely different from the one suggested in the Scripting Guide, and is generally less easy to master.

 

SUGGESTED IMPROVEMENT

I wish JMP allows the user to choose the type of JSL to be produced.

For those who regularly use "Save Script" for reproducible analysis, this would be a tremendous time saver.

2 Comments
jthi
Super User

Totally agree with this idea. It would be really nice if scripts generated by JMP were using messages instead of SendToReport and Dispatch and as suggested this should be an option (not replace the current methods). Using messages would create scripts like they should be created (in most cases) as you really shouldn't modify SendToReport part of JMP generated code.

Status changed to: Acknowledged

Hi @nao, thank you for taking the time to submit this idea! We will review your request and keep you updated on its status.