<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic save an analysis script to the data table without running it first in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/save-an-analysis-script-to-the-data-table-without-running-it/m-p/475952#M72047</link>
    <description>&lt;P&gt;is there a way to save a script to a data table without running it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use this to save an analysis after it gets ran:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;objgb1 &amp;lt;&amp;lt; Save Script to Data Table( "GB", &amp;lt;&amp;lt;Prompt( 0 ), &amp;lt;&amp;lt;Replace( 0 ) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any ideas.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:55:57 GMT</pubDate>
    <dc:creator>shampton82</dc:creator>
    <dc:date>2023-06-09T16:55:57Z</dc:date>
    <item>
      <title>save an analysis script to the data table without running it first</title>
      <link>https://community.jmp.com/t5/Discussions/save-an-analysis-script-to-the-data-table-without-running-it/m-p/475952#M72047</link>
      <description>&lt;P&gt;is there a way to save a script to a data table without running it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use this to save an analysis after it gets ran:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;objgb1 &amp;lt;&amp;lt; Save Script to Data Table( "GB", &amp;lt;&amp;lt;Prompt( 0 ), &amp;lt;&amp;lt;Replace( 0 ) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any ideas.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:55:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/save-an-analysis-script-to-the-data-table-without-running-it/m-p/475952#M72047</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2023-06-09T16:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: save an analysis script to the data table without running it first</title>
      <link>https://community.jmp.com/t5/Discussions/save-an-analysis-script-to-the-data-table-without-running-it/m-p/475972#M72048</link>
      <description>&lt;P&gt;Most likely there are other options, but here is one&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");

fit = Expr(Bivariate(Y(:NPN1), X(:PNP1)));
Eval(EvalExpr(dt &amp;lt;&amp;lt; New Script("FitX-Y", Expr(NameExpr(fit)))));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1649088690034.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41472i5FF4ABFFFFAD026C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1649088690034.png" alt="jthi_0-1649088690034.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 16:13:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/save-an-analysis-script-to-the-data-table-without-running-it/m-p/475972#M72048</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-04-04T16:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: save an analysis script to the data table without running it first</title>
      <link>https://community.jmp.com/t5/Discussions/save-an-analysis-script-to-the-data-table-without-running-it/m-p/475973#M72049</link>
      <description>&lt;P&gt;Any analysis script can be saved directly to the data table, without running it&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

Current Data Table() &amp;lt;&amp;lt; new script(
	"theDistribution",
	Distribution(
		Continuous Distribution( Column( :weight ) ),
		Nominal Distribution( Column( :age ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Apr 2022 16:14:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/save-an-analysis-script-to-the-data-table-without-running-it/m-p/475973#M72049</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-04-04T16:14:52Z</dc:date>
    </item>
  </channel>
</rss>

