BookmarkSubscribeSubscribe to RSS Feed

Save small datatable to Journal

twaintwist

Community Trekker

Joined:

Jun 14, 2012

I've been at this for a while and I know it's doable but I can't seem to get it to work....

I can save my Graphs to a journal but can't append a small data table (summary table) to the journal.....  --- any hints?

5 REPLIES
thechadd

Community Trekker

Joined:

Jun 23, 2011

Highlight the cells you want in the table, or select everything, then hit Crtl-J or Edit--> Journal.  The selected cells should show up in the Journal with column headers.

twaintwist

Community Trekker

Joined:

Jun 14, 2012

Thanks ---- I should have been more clear in my need ---- I need to save the Datatable to a journal using a script....

ms

Super User

Joined:

Jun 23, 2011

 

dt = Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" ) << Summary( Group( :Age ), Mean( :Height ) );
dt << journal;

Works in JMP 9 & 10, possibly also in older versions.

Heidi

Occasional Contributor

Joined:

May 17, 2018

Hi,

Your solution works. However do you know a way to give that journal a name then I can append other graphs in the same journal?

 

Thanks!

txnelson

Super User

Joined:

Jun 22, 2012

dt = Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" ) << Summary( Group( :Age ), Mean( :Height ) );
xx = New Window( "my journal", <<journal );
dt << journal;

This is all covered in the Scripting Guide.  I strongly encourage you to read through it

     Help==>Books==>Scripting Guide 

Jim