<?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 Re: JMP 19.0.4 Windows &amp;gt; How Do I Convert JMP 17 script that include R functions (some deprecated) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-19-0-4-Windows-gt-How-Do-I-Convert-JMP-17-script-that/m-p/933237#M108964</link>
    <description>&lt;P&gt;Hi Hogi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. It's odd, on my system, the script crashes without producing any output.&lt;/P&gt;
&lt;P&gt;I'll check my R configuration to make sure that I have the right package installed.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2026 02:15:02 GMT</pubDate>
    <dc:creator>Thierry_S</dc:creator>
    <dc:date>2026-03-02T02:15:02Z</dc:date>
    <item>
      <title>JMP 19.0.4 Windows &gt; How Do I Convert JMP 17 script that include R functions (some deprecated)</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-19-0-4-Windows-gt-How-Do-I-Convert-JMP-17-script-that/m-p/933213#M108960</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a couple of simple scripts that call R functions I created in JMP 17. I upgraded JMP to its latest version (19.0.4), and these scripts no longer work. The documentation is a bit thin about the integration of R into the Python environment, so your help would be highly appreciated.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here (1);

dt = current data table ();

nw = New Window ("ENSEMBL_ID COLUMN SELECTION",
		&amp;lt;&amp;lt; Modal,
		Text Box ("Select the ENSEMBL_ID column"),
		lcol = Col List Box (Data Table (dt),
							All,
							width (500)
							),
		Button Box ("OK", scol = lcol &amp;lt;&amp;lt; get selected; switch = 1),
			
		Button Box ("CANCEL", switch = 0; Throw(1)),					
							
		);


If (switch, 
	enbl_col_list = as column (scol) &amp;lt;&amp;lt; get values ();
	r init();
	R send (enbl_col_list);
	R Submit(	"\[library(biomaRt)
					library("org.Hs.eg.db")
					library("AnnotationDbi")
					output &amp;lt;- mapIds(org.Hs.eg.db, keys = enbl_col_list, keytype = "ENSEMBL", column = "SYMBOL")
					output_df &amp;lt;- as.data.frame (output)
					print(output_df)
					]\");
	
	dt_out = r get (output_df);
	R Term (),
Throw (1));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2026 20:35:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-19-0-4-Windows-gt-How-Do-I-Convert-JMP-17-script-that/m-p/933213#M108960</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2026-03-01T20:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: JMP 19.0.4 Windows &gt; How Do I Convert JMP 17 script that include R functions (some deprecated)</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-19-0-4-Windows-gt-How-Do-I-Convert-JMP-17-script-that/m-p/933229#M108962</link>
      <description>&lt;P&gt;Here is a great introduction to R in JMP 19:&amp;nbsp;&lt;BR /&gt;&lt;LI-MESSAGE title="Scripters Club Recording: R is Back Again in JMP 19 - Exploring R and Python Integration" uid="914444" url="https://community.jmp.com/t5/JMP-Scripters-Club-Discussions/Scripters-Club-Recording-R-is-Back-Again-in-JMP-19-Exploring-R/m-p/914444#U914444" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;seems that the code doesn't have to be adjusted.&lt;BR /&gt;Just install R and from R install the libraries which are used in the R command.&lt;BR /&gt;&lt;BR /&gt;Then execute the JSL code - and JMP will control R via Python / &lt;STRONG&gt;rpy2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2026 00:25:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-19-0-4-Windows-gt-How-Do-I-Convert-JMP-17-script-that/m-p/933229#M108962</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2026-03-02T00:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: JMP 19.0.4 Windows &gt; How Do I Convert JMP 17 script that include R functions (some deprecated)</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-19-0-4-Windows-gt-How-Do-I-Convert-JMP-17-script-that/m-p/933237#M108964</link>
      <description>&lt;P&gt;Hi Hogi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. It's odd, on my system, the script crashes without producing any output.&lt;/P&gt;
&lt;P&gt;I'll check my R configuration to make sure that I have the right package installed.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2026 02:15:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-19-0-4-Windows-gt-How-Do-I-Convert-JMP-17-script-that/m-p/933237#M108964</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2026-03-02T02:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: JMP 19.0.4 Windows &gt; How Do I Convert JMP 17 script that include R functions (some deprecated)</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-19-0-4-Windows-gt-How-Do-I-Convert-JMP-17-script-that/m-p/933360#M108971</link>
      <description>&lt;P&gt;Hi JMP Community,&lt;/P&gt;
&lt;P&gt;I found the issue in my script. I needed to include an UNLIST(data) R command to convert the JMP list into a string VECTOR so the main command would work.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2026 17:20:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-19-0-4-Windows-gt-How-Do-I-Convert-JMP-17-script-that/m-p/933360#M108971</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2026-03-02T17:20:13Z</dc:date>
    </item>
  </channel>
</rss>

