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.
|
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. |
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 |
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. |
Free forum by Nabble | Edit this page |