<?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: Help JMP find R installation in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Help-JMP-find-R-installation/m-p/6358#M83</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will note that further investigation has revealed that the registry key is in HKEY_LOCAL_USER\.... instead of HKEY_LOCAL_MACHINE\...&lt;/P&gt;&lt;P&gt;I don't know why for this person the R key is there as opposed to where it is for me and everyone else, but my question stands, can I simply instruct JMP to look for a different registry key?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2013 16:13:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-25T16:13:59Z</dc:date>
    <item>
      <title>Help JMP find R installation</title>
      <link>https://community.jmp.com/t5/Discussions/Help-JMP-find-R-installation/m-p/6357#M82</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote a script in JMP that utilizes R to help a client get some specific information out of their dataset.&amp;nbsp; They had never installed R before so I helped them get it installed (much as I have dozens of times).&amp;nbsp; My script throws an error if JMP cannot find R on the computer (it utilizes a Throw(rconn = R Connect();,...) statement).&amp;nbsp; JMP was running when R was installed, I ran the script and it couldn't find R.&amp;nbsp; I quit JMP, relaunched it - same error.&amp;nbsp; I rebooted the computer, ran the script - same error.&amp;nbsp; I uninstalled R, quit JMP, installed R, launched JMP - same error.&amp;nbsp; So, what I'm wondering is, can I help JMP find R by specifying the destination?&amp;nbsp; JMP Support files say:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;How JMP Finds R&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;JMP delays loading R until a JSL-based script requires access to it. When JMP needs to load R, it follows the standard steps for finding R on a Windows computer:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;1.Look up the environment variable R_HOME.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;If the variable exists, load R from the specified directory.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;2.If the environment variable R_HOME does not exist, look up the InstallPath value in the Windows registry under the following key:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;For 32-bit JMP running on a 64-bit machine, the InstallPath value is under the following key:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\R-core\R&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;If the InstallPath value exists, load R from the specified directory.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;3.If the InstallPath value does not exist, an error message states that R could not be found.&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;Can I specify the environment variable R_HOME or pass along the InstallPath value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 15:41:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-JMP-find-R-installation/m-p/6357#M82</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-25T15:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help JMP find R installation</title>
      <link>https://community.jmp.com/t5/Discussions/Help-JMP-find-R-installation/m-p/6358#M83</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will note that further investigation has revealed that the registry key is in HKEY_LOCAL_USER\.... instead of HKEY_LOCAL_MACHINE\...&lt;/P&gt;&lt;P&gt;I don't know why for this person the R key is there as opposed to where it is for me and everyone else, but my question stands, can I simply instruct JMP to look for a different registry key?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 16:13:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-JMP-find-R-installation/m-p/6358#M83</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-25T16:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help JMP find R installation</title>
      <link>https://community.jmp.com/t5/Discussions/Help-JMP-find-R-installation/m-p/6359#M84</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It turns out the solution was that the user did not have administrative privileges on the computer (it seemed they did because they could install R).&amp;nbsp; Once we uninstalled R, requested administrative rights and reinstalled R everything worked fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 19:22:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-JMP-find-R-installation/m-p/6359#M84</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-17T19:22:45Z</dc:date>
    </item>
  </channel>
</rss>

