save an analysis script to the data table without running it firstis there a way to save a script to a data table without running it?
I use this to save an analysis after it gets ran:
objgb1 << Save Script to Data Table( "GB", <
but I'd like to set up the analysis then have it save to the table so a users can run it later on if they need to.
Thanks for any ideas.
Steve
ScriptingRe: save an analysis script to the data table without running it firstMost likely there are other options, but here is one
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
fit = Expr(Bivariate(Y(:NPN1), X(:PNP1)));
Eval(EvalExpr(dt << New Script("FitX-Y", Expr(NameExpr(fit)))));

Re: save an analysis script to the data table without running it firstAny analysis script can be saved directly to the data table, without running it
Names Default To Here( 1 );
Current Data Table() << new script(
"theDistribution",
Distribution(
Continuous Distribution( Column( :weight ) ),
Nominal Distribution( Column( :age ) )
)
);