- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Problems with JMP finding R
##################################
//:*/
Get Environment Variable("R_HOME")
/*:
"C:\Program Files\R\R-2.12.2\"
##################################
I've also confirmed the InstallPath from HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R also points to C:\Program Files\R\R-2.12.2\ just as a backup.
But I still get this error when I try to initialize the connection to R.
##################################
//:*/
R Init( );
/*:
An installed version of R could not be found.
-1
##################################
Appreciate any guidance.
-Landon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problems with JMP finding R
You might try that simple fix. More complicated is that the latest R release "R 2-12.2" just came out in Feb. 2011 - well after JMP v9.01. If something changed on the R side, directory structure, etc. it becomes a more complicated fix. One solution is to fall back to a tested (with JMP) version of R, but perhaps someone has a simple fix.
I am a big fan of the JMP R connection functionality - great stuff.
Best,
-Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problems with JMP finding R
The Scripting Guide mentions
JMP 9 has been verified to operate correctly with R 2.9.1 and later.
##############################################
//:*/
R Init( );
/*:
An installed version of R could not be found.
-1
Get Environment Variable("R_HOME")
//:*/
Get Environment Variable("R_HOME")
/*:
"C:\Program Files\R\R-2.12.2"
##############################################
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problems with JMP finding R
I change R 2.11.1. It is good
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problems with JMP finding R
I changed to 2.11.1 and it is now working for me as well.
I wondered what aspect of 2.12 broke the integration... and wonder if 2.13.0 will have similar problems.
Thanks, Landon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problems with JMP finding R
C:\Program Files\R\R-2.12.2\bin\i386
and not in
C:\Program Files\R\R-2.11.1\bin
See the windows release notes at:
http://cran.r-project.org/bin/windows/base/old/2.12.0/CHANGES.R-2.12.0.html
As a small hack I just copied all the files in C:\Program Files\R\R-2.12.2\bin\i386
to C:\Program Files\R\R-2.12.2\bin\ and JMP is now able to connect to 2.12.2.
-Landon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problems with JMP finding R
When you get it up & running be sure and see a few nice SGF 2001 papers on JMP & R integration.
http://www.lexjansen.com/cgi-bin/xsl_transform.php?x=sgf2011&s=sugi&c=sugi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problems with JMP finding R
Hi,
I am also having trouble with JMP finding R. I tried the following:
- I ran RSetReg.exe in the \bin\x64\ folder. No luck.
- I then copied all files in R\R-2.15.2\bin\x64\ folder to R\R-2.15.2\bin\, and re-run RSetReg.exe. No luck.
I am using:
- JMP10
- R-2.15.2
- Both JMP and R are 64 bit versions.
Any ideas?
Thanks,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problems with JMP finding R
The problem may be related to this JMP knowledge base post: 47268 - JMP® might not work with R 2.15 version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Problems with JMP finding R
Hi MS,
Thanks for the suggestion, but still no luck.
R-2.15.2 is my only installation of R. But, I uninstalled and re-installed R anyway, just to check. I also re-ran RSetReg.exe. No luck. Do you have other ideas? My JMP log is below.
//:*/
Get Environment Variable( "R_HOME" );
/*:
""
//:*/
R Init();
R Submit( "
x <- 1:5
x
" );
R Term();
/*:
An installation of R cannot be found on this system. JMP R support requires R version 2.9.1 or higher in access or evaluation of 'Glue' , R Init();
R Submit( "
x <- 1:5
x
" );
R Term();
In the following script, error marked by /*###*/
R Init(); /*###*/R Submit( "
x <- 1:5
x
" ); /*###*/R Term() /*###*/;