R plugin not installing on Mac

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

R plugin not installing on Mac

Alan Howard
This morning, a student asked for my help installing the R essentials
package.  Never having done this before, I checked the installation
instructions and it looked pretty simple.  She is running SPSS 20 on her
MacBook Pro and recently installed R 2.12, which is the recommended
version.  We ran through the R essentials installer and it reported that
the install was successful.  We start up SPSS and find that extension
bundles have been installed (R Boxplot, Tobit Regression, etc.).  But
when we actually try to run one of them (R Boxplot, for example) a
dialog box pops up and says that the R plugin is required but is not
installed.  Tried reinstalling the R essentials, checked the installer
logs, and all seems OK.  I'm feeling pretty stupid at this point since I
told her it should be an easy install.  She said others in her class
have done this without a problem, so I am stumped.  Googling did not
reveal any insights and the IBM support site yielded nothing either.
Anyone have any ideas?  Thanks.

Alan...

--
Alan Howard
Statistical Software Support & Consulting Services
115 Bailey/Howe Library
University of Vermont
Burlington, VT  05405

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: R plugin not installing on Mac

Jon K Peck
Start by running the simplest possible R program from a syntax window.
begin program r.
print("ok")
end program.

Look, then, at the spssdxcfg.ini file in the Statistics installation directory.

It should contain a section looking something like this (You might not have Python).  This is the Statistics 20 version on my (Window) system.

[SUPPORTED_LANG]
X=PYTHON;R
[Python]
HOME=C:\Python27\
LIB_NAME=InvokePython
[R]
HOME=C:\R2.12.2
LIB_NAME=InvokeR

If R is not listed, there is most likely a permissions problem with writing to the Statistics installation directory.

Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621




From:        Alan Howard <[hidden email]>
To:        [hidden email],
Date:        06/04/2013 12:22 PM
Subject:        [SPSSX-L] R plugin not installing on Mac
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




This morning, a student asked for my help installing the R essentials
package.  Never having done this before, I checked the installation
instructions and it looked pretty simple.  She is running SPSS 20 on her
MacBook Pro and recently installed R 2.12, which is the recommended
version.  We ran through the R essentials installer and it reported that
the install was successful.  We start up SPSS and find that extension
bundles have been installed (R Boxplot, Tobit Regression, etc.).  But
when we actually try to run one of them (R Boxplot, for example) a
dialog box pops up and says that the R plugin is required but is not
installed.  Tried reinstalling the R essentials, checked the installer
logs, and all seems OK.  I'm feeling pretty stupid at this point since I
told her it should be an easy install.  She said others in her class
have done this without a problem, so I am stumped.  Googling did not
reveal any insights and the IBM support site yielded nothing either.
Anyone have any ideas?  Thanks.

Alan...

--
Alan Howard
Statistical Software Support & Consulting Services
115 Bailey/Howe Library
University of Vermont
Burlington, VT  05405

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD