Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Community Manager Community Manager

Saving Your Work in a JMP Journal

Learn more in our free online course:
Statistical Thinking for Industrial Problem Solving


In this video, you learn how to save your analysis workflow and results in a JMP journal.


To start, we run the three saved scripts in the file Impurity for


At this point, our analysis includes Distribution output for Impurity and Outcome, box plots for Impurity and Reactor, and a mosaic plot for Outcome and Reactor.


Let’s say that we want to save the data table, and the scripts for re-running these analyses, in a journal.


First, we open a new journal. To do this, we go to File, New, and then Journal.

This opens a blank journal.


Now we right-click in this journal and select Add All Open Files. This adds an outline with the file name and links to run four scripts.


The first link runs a script that opens the data table from its current file location, and the next three links run the three analyses. We have to open the data table before we can run any of these analyses.


To change a script name or edit a script, you can right-click the link and select Edit and then Set Script.


For example, you can see that the Distribution script runs the Distribution analysis. If the data table is open, when we click this link, the Distribution analysis is run.


Let’s add a title to this journal.


To do this, we right-click near the bottom of the journal and select Add Text Item.


We’ll call this Impurity Analysis. We’ll turn off the bullet and click OK.


We’ll use the selection tool to drag this to the top of the journal window.


Let’s make this title a little bigger. To do this, we change to the arrow tool, right-click the title, and select Font. We’ll change the font size to 24 and click OK.


Instead of adding scripts to run analyses, you might want to add the analysis results directly to the journal.


To do this, we’ll navigate to the report that we want to add, and make sure this report is active. Then, we select Journal from the Edit menu.


The analysis results are added in a new outline. You can add as many analyses as you’d like. You can also add notes, URL links, images, and other information.


Now let’s say that you want to share this journal so that others can re-run your analysis.


If the data table is stored in a shared directory, the script to open this data table points to this shared directory. However, if the data table is stored on your machine, you need to share the data table and change the path for the file in the journal.


If you store the data table in the same directory as the journal, the script can be a simple “Open” command. You don’t have to include the directory path. In this example, we’ll change the script to Open (“Impurity for”).

If the data table is small, an alternative is to embed the code to re-create the data table in the journal.


Let’s see how to do this.


First, we go to the open data table, click the top red triangle, and select Copy Table Script.


Then we edit the link for Impurity for Scripts and paste this table script.

Now, when you click this link in the journal, the data table is re-created. You can share this journal without having to share the data table.


As a last step, we’ll save this journal. Journals are saved with a .jrn extension. We’ll save the file as Impurity Analysis.

Because we saved the journal with a script to re-create the data table, anyone who we share the journal with will be able to re-run our analyses.

Article Tags