cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
UserID16644
Level V

Combine multiple "Save Script to Journal" into one journal

Hi all, I am trying to do "save script to journal" with two different plots, it is appending on the journal, the problem is I cannot save the journal itself. Also, in my graph builder plot, why is it prompting to save the file? Please help

 

Sample script:

biv = dt << Bivariate( invisible, Y( :height ), X( :weight ), By( :sex ) );
biv << Save Script to Journal; //1st

gb = dt << Graph Builder(
	Variables( X( :Sex ), Y( :Height ), Group X( :Age ) ),
	Elements( Box Plot( X, Y ) )
);

gb << Save Script to Journal; //2nd which also prompts to save data table file

 

I am really not sure if this is the correct way to do it, but I wanted to combine this two into only one journal. TIA --using JMP15

1 REPLY 1
txnelson
Super User

Re: Combine multiple "Save Script to Journal" into one journal

You just have to use

jr=current journal();
jr << Save Journal( "path/to/example.jrn" );
Jim