Choose Language Hide Translation Bar
Highlighted

JMP Script

How to rename the script name  saved in a data table,

e.g I used

DataTable("Stacked")<<save script to data table;

now it always create a Script name "New Table".

i want to rename this as "PD-PU_Stacked".

how i can do that?

Thanks

-Ram

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
ron_horne
Super User

Re: JMP Script

hi Ram,

found this in the scripting guide, the last line is the answer.

ron

Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

dt << New Script( "New Script", Distribution( Column( :Height, :Weight ), By( :sex ) ) );

Wait( 1 );

dt << Rename Table Script( "New Script", "Great Script" );

View solution in original post

3 REPLIES 3
Highlighted
ron_horne
Super User

Re: JMP Script

hi Ram,

found this in the scripting guide, the last line is the answer.

ron

Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

dt << New Script( "New Script", Distribution( Column( :Height, :Weight ), By( :sex ) ) );

Wait( 1 );

dt << Rename Table Script( "New Script", "Great Script" );

View solution in original post

Highlighted
z2632941
Level I

Re: JMP Script

thank you

Highlighted

Re: JMP Script

Thanks Ron.

Article Labels

    There are no labels assigned to this post.