cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-775254%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3ESave%20script%20to%20data%20table%20%20(All%20objects%20)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775254%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EHow%20do%20I%20use%20the%20save%20script%20to%20data%20table%20(all%20object)%20%26nbsp%3Bsyntax%20to%20save%20a%20data%20table%20sorted%20%3A%20by%20a%20column%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-775254%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3EmacOS%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-775265%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Save%20script%20to%20data%20table%20%20(All%20objects%20)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775265%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIf%20you%20used%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BTables-%26gt%3BSort%3C%2FP%3E%0A%3CP%3Ethen%20the%20script%20has%20already%20been%20saved%20to%20the%20data%20table%20in%20the%20form%20of%20the%20Source%20entry%20in%20the%20Tables%20Panel.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-775276%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Save%20script%20to%20data%20table%20%20(All%20objects%20)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775276%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20Nelson%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehow%20about%20a%20report%20grouped%20by%3A%20a%20column.%20The%20report%20has%20multiple%20sections%20grouped%20by%20a%20column%20and%20I%20need%20to%20save%20them%20all%20to%20the%20data%20table%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-775299%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Save%20script%20to%20data%20table%20%20(All%20objects%20)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775299%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIs%20this%20what%20you%20are%20looking%20for%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0Adt%20%3D%20Open(%20%22%24SAMPLE_DATA%2Fbig%20class.jmp%22%20)%3B%0A%0Aobj%20%3D%20dt%20%26lt%3B%26lt%3B%20bivariate(x(%3Aweight)%2Cy(%3AHeight)%2C%0A%09By(%20age%20)%0A)%3B%0Aobj%5B1%5D%20%26lt%3B%26lt%3B%20Save%20ByGroup%20Script%20to%20data%20table%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-775303%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Save%20script%20to%20data%20table%20%20(All%20objects%20)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775303%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Eworked%20perfectly%20!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20Nelson%20!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
kd_kel
Level I

Save script to data table (All objects )

How do I use the save script to data table (all object)  syntax to save a data table sorted : by a column

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Save script to data table (All objects )

Is this what you are looking for

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

obj = dt << bivariate(x(:weight),y(:Height),
	By( age )
);
obj[1] << Save ByGroup Script to data table;
Jim

View solution in original post

4 REPLIES 4
txnelson
Super User

Re: Save script to data table (All objects )

If you used 

     Tables->Sort

then the script has already been saved to the data table in the form of the Source entry in the Tables Panel.

Jim
kd_kel
Level I

Re: Save script to data table (All objects )

Thanks Nelson, 

 

how about a report grouped by: a column. The report has multiple sections grouped by a column and I need to save them all to the data table

txnelson
Super User

Re: Save script to data table (All objects )

Is this what you are looking for

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

obj = dt << bivariate(x(:weight),y(:Height),
	By( age )
);
obj[1] << Save ByGroup Script to data table;
Jim
kd_kel
Level I

Re: Save script to data table (All objects )

worked perfectly ! 

 

Thanks Nelson !