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%3E%E4%BF%9D%E5%AD%98%E8%84%9A%E6%9C%AC%E5%88%B0%E6%95%B0%E6%8D%AE%E8%A1%A8%EF%BC%88%E6%89%80%E6%9C%89%E5%AF%B9%E8%B1%A1%EF%BC%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775254%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E4%BF%9D%E5%AD%98%E8%84%9A%E6%9C%AC%E5%88%B0%E6%95%B0%E6%8D%AE%E8%A1%A8%EF%BC%88%E6%89%80%E6%9C%89%E5%AF%B9%E8%B1%A1%EF%BC%89%E8%AF%AD%E6%B3%95%E6%9D%A5%E4%BF%9D%E5%AD%98%E6%8C%89%E5%88%97%E6%8E%92%E5%BA%8F%E7%9A%84%E6%95%B0%E6%8D%AE%E8%A1%A8%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%3E%E8%8B%B9%E6%9E%9C%E7%B3%BB%E7%BB%9F%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%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%B0%86%E8%84%9A%E6%9C%AC%E4%BF%9D%E5%AD%98%E5%88%B0%E6%95%B0%E6%8D%AE%E8%A1%A8%EF%BC%88%E6%89%80%E6%9C%89%E5%AF%B9%E8%B1%A1%EF%BC%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775265%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%A6%82%E6%9E%9C%E4%BD%A0%E4%BD%BF%E7%94%A8%3C%2FP%3E%0A%3CP%3E%E8%A1%A8%E6%A0%BC-%26gt%3B%E6%8E%92%E5%BA%8F%3C%2FP%3E%0A%3CP%3E%E9%82%A3%E4%B9%88%E8%84%9A%E6%9C%AC%E5%B7%B2%E7%BB%8F%E4%BB%A5%E8%A1%A8%E6%A0%BC%E9%9D%A2%E6%9D%BF%E4%B8%AD%E7%9A%84%E6%BA%90%E6%9D%A1%E7%9B%AE%E7%9A%84%E5%BD%A2%E5%BC%8F%E4%BF%9D%E5%AD%98%E5%88%B0%E6%95%B0%E6%8D%AE%E8%A1%A8%E4%B8%AD%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-775276%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%B0%86%E8%84%9A%E6%9C%AC%E4%BF%9D%E5%AD%98%E5%88%B0%E6%95%B0%E6%8D%AE%E8%A1%A8%EF%BC%88%E6%89%80%E6%9C%89%E5%AF%B9%E8%B1%A1%EF%BC%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775276%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%B0%A2%E8%B0%A2%E5%B0%BC%E5%B0%94%E6%A3%AE%EF%BC%8C%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E6%8C%89%E5%88%97%E5%88%86%E7%BB%84%E7%9A%84%E6%8A%A5%E5%91%8A%E6%80%8E%E4%B9%88%E6%A0%B7%EF%BC%9F%E6%8A%A5%E5%91%8A%E6%9C%89%E5%A4%9A%E4%B8%AA%E9%83%A8%E5%88%86%E6%8C%89%E5%88%97%E5%88%86%E7%BB%84%EF%BC%8C%E6%88%91%E9%9C%80%E8%A6%81%E5%B0%86%E5%AE%83%E4%BB%AC%E5%85%A8%E9%83%A8%E4%BF%9D%E5%AD%98%E5%88%B0%E6%95%B0%E6%8D%AE%E8%A1%A8%E4%B8%AD%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-775299%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%B0%86%E8%84%9A%E6%9C%AC%E4%BF%9D%E5%AD%98%E5%88%B0%E6%95%B0%E6%8D%AE%E8%A1%A8%EF%BC%88%E6%89%80%E6%9C%89%E5%AF%B9%E8%B1%A1%EF%BC%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775299%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%BF%99%E6%98%AF%E4%BD%A0%E6%83%B3%E8%A6%81%E7%9A%84%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%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%B0%86%E8%84%9A%E6%9C%AC%E4%BF%9D%E5%AD%98%E5%88%B0%E6%95%B0%E6%8D%AE%E8%A1%A8%EF%BC%88%E6%89%80%E6%9C%89%E5%AF%B9%E8%B1%A1%EF%BC%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775303%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%AE%8C%E7%BE%8E%E8%BF%90%E8%A1%8C%EF%BC%81%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E8%B0%A2%E8%B0%A2%E5%B0%BC%E5%B0%94%E6%A3%AE%EF%BC%81%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 !