R integration on SPSS 20 student licence.

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

R integration on SPSS 20 student licence.

Benjamin Spivak (Med)
Hi Listers,

I'm teaching myself R and am having trouble opening an SPSS file in R (I installed the "foreign" package, but kept running into errors). I have installed the SPSS R integration package, but cannot start R in syntax. For some reason, the system does not recognise the command 'BEGIN PROGRAM R.' which I am led to belief should allow me to begin using R commands in syntax.

I don't know why this isn't working. However, I wonder whether it is because I am using the SPSS 20 student licence. Does anybody know whether there is some problem integrating the package with the student version of SPSS 20? Is there a way around it?

Thanks in advance,

Benjamin.
Reply | Threaded
Open this post in threaded view
|

Re: R integration on SPSS 20 student licence.

Andy W
I was able to get R in SPSS working on my student version 20 so I'm skeptical that it has to do with that specifically. Your not giving much to go on though for anyone to be able to help.

Can you open up your R installation (R 2.12 for SPSS 20 I believe) and run some program within the R console directly? Can you give the exact error message when trying to run an R program within SPSS (example below)?

begin program r.
x <- "Hello World"
x
end program.
Andy W
apwheele@gmail.com
http://andrewpwheeler.wordpress.com/
Reply | Threaded
Open this post in threaded view
|

Re: R integration on SPSS 20 student licence.

Benjamin Spivak (Med)
Hi Jon and Andy,

Thanks for the speedy response. I tried running the example below.

my output read 
_SLINE 0 6.
begin program r.
_SLINE OFF.

Is this normal?

Cheers,

Ben.

On 23 July 2012 23:06, Andy W <[hidden email]> wrote:
I was able to get R in SPSS working on my student version 20 so I'm skeptical
that it has to do with that specifically. Your not giving much to go on
though for anyone to be able to help.

Can you open up your R installation (R 2.12 for SPSS 20 I believe) and run
some program within the R console directly? Can you give the exact error
message when trying to run an R program within SPSS (example below)?

begin program r.
x <- "Hello World"
x
end program.



-----
Andy W
[hidden email]
http://andrewpwheeler.wordpress.com/
--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/R-integration-on-SPSS-20-student-licence-tp5714377p5714380.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
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 integration on SPSS 20 student licence.

Benjamin Spivak (Med)
I can run R procedures from the menus. I just ran the residual heteroscedasticity test without any apparent errors. 

my temporary directory is /private/var/folders/f0/7p1_xc911kv4p7z3ch_rwzm80000gn/T/

I am running on Mac OSX 10.73

Thanks,

Ben.

On 23 July 2012 23:42, Jon K Peck <[hidden email]> wrote:
You should have seen the output from the print statement.  The SLINE lines are intermediate things that may appear on the status bar.

What about running an R procedure from the menus.

What is your SPSS temporary directory (Edit >Options >Files)?

What OS are you running?  If it is Win7, did you install the R Essentials using Run As Administrator?

Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
new phone: <a href="tel:720-342-5621" value="+17203425621" target="_blank">720-342-5621




From:        Benjamin Spivak <[hidden email]>
To:        [hidden email]
Date:        07/23/2012 07:33 AM
Subject:        Re: [SPSSX-L] R integration on SPSS 20 student licence.
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Hi Jon and Andy,

Thanks for the speedy response. I tried running the example below.

my output read 
_SLINE 0 6.
begin program r.
_SLINE OFF.

Is this normal?

Cheers,

Ben.

On 23 July 2012 23:06, Andy W <[hidden email]> wrote:
I was able to get R in SPSS working on my student version 20 so I'm skeptical
that it has to do with that specifically. Your not giving much to go on
though for anyone to be able to help.

Can you open up your R installation (R 2.12 for SPSS 20 I believe) and run
some program within the R console directly? Can you give the exact error
message when trying to run an R program within SPSS (example below)?

begin program r.
x <- "Hello World"
x
end program.



-----
Andy W

[hidden email]
http://andrewpwheeler.wordpress.com/
--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/R-integration-on-SPSS-20-student-licence-tp5714377p5714380.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
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