cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

How can I save a JMP table in JMP 18 without leaving a record in the file list?

The same code is not recorded in JMP17.

Thanks! 

 

dt = Open( "$SAMPLE_DATA/Big Class.jmp", Add to Recent Files( 0 ) );
dt << Select Where( Row() < 21 );
d3 = dt << Subset( Output Table( "AA" ), Selected Rows( 1 ), selected columns( 0 ) );
Try( d3 << Delete Table Property( "Source" ) );
Try( d3 << Delete Table Property( "Source" ) );
d3 << Save( "c:\test.jmp" );
Close( dt, nosave );
Close( d3, nosave );

2024-11-06_16-30-56.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How can I save a JMP table in JMP 18 without leaving a record in the file list?

In case the data tables are invisible - at least for me they then do not show up in my recent files list when saving them

 

dt = Open( "$SAMPLE_DATA/Big Class.jmp", Add to Recent Files( 0 ) , invisible);
dt << Select Where( Row() < 21 );
d3 = dt << Subset( Output Table( "AA" ), Selected Rows( 1 ), selected columns( 0 ) , invisible);
Try( d3 << Delete Table Property( "Source" ) );
Try( d3 << Delete Table Property( "Source" ) );
d3 << Save( ".\test.jmp" );
Close( dt, nosave );
Close( d3, nosave );
/****NeverStopLearning****/

View solution in original post

2 REPLIES 2
hogi
Level XIII

Re: How can I save a JMP table in JMP 18 without leaving a record in the file list?

thanks for the trick with Add to Recent Files(0). 
Nice trick : )

I just noticed the
preferences("Add files opened by scripts to the Recent Files list")

 

For save, I hope somebody will provide a solution ...

Re: How can I save a JMP table in JMP 18 without leaving a record in the file list?

In case the data tables are invisible - at least for me they then do not show up in my recent files list when saving them

 

dt = Open( "$SAMPLE_DATA/Big Class.jmp", Add to Recent Files( 0 ) , invisible);
dt << Select Where( Row() < 21 );
d3 = dt << Subset( Output Table( "AA" ), Selected Rows( 1 ), selected columns( 0 ) , invisible);
Try( d3 << Delete Table Property( "Source" ) );
Try( d3 << Delete Table Property( "Source" ) );
d3 << Save( ".\test.jmp" );
Close( dt, nosave );
Close( d3, nosave );
/****NeverStopLearning****/

Recommended Articles