I changed
//create new window
nw = New Window( "Final" );
into making it a journal
//create new window
nw = New Window( "Final",<<journal );
and both of the saved journal entries are properly copied into the new journal
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
j1 = New Window( "Journal_1",
<<journal,
dt << bivariate( x( :weight ), y( :height ) )
);
Current Journal() << save journal( "$TEMP\Existing.jrn" );
Current Journal() << close window();
//Open closed journal
nw_existing = Open( "$TEMP\Existing.jrn" );
//Create New journal
nw2 = New Window( "Journal_2", <<journal, dt << oneway( x( :sex ), y( :height ) ) );
Current Journal() << save journal( "$TEMP\New.jrn" );
//create new window
nw = New Window( "Final",<<journal );
//add older jrn first, followed by recent one
nw << append( nw_existing );
//nw << append( Report(nw_existing)); // does not make any difference
nw << append( nw2 );
txnelson_0-1629528073561.png
Jim