|
problem: connect SPSS script with R calling data from server.
question: how to get it started? I can't get my start program to work in my SPSS 17 script which starts my R session and it's SQL passed to my Postgres database on the server. I went to the SPSS /devcentral site and downloaded the app that support R and scripting. I also uninstalled R 2.8, etc. There is no support on the SPSS site that I can find. Tech support said they are not equipped to know about spss/Devcentral tools. One clue was R: >library(foreign) >library(spss_17.0) the specifications the library I am not aware of or how to obtain it from R-project/CRAN. Any successful stories are welcomed! Steve [hidden email] ===================== 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 |
|
Can you post more detail about exactly what you are doing? Are you using a script or a program?
The R plugin (which is fully documented in a pdf file accessible from the Help menu after you install it) is a program construct, not a script, but depending on exactly how you invoke your script, you may be able to run R programs from it. Having multiple versions of R installed will not matter. V 17 will look for R 2.7; V 18 will look for 2.8. With V18, by the way, the R browser() and debug() functions are supported with the R plugin, which is a great help in developer R code - once you get the program going. There is a forum for R questions on Developer Central (look on the right of the main page). I don't think this particular topic has been discussed there, but it's a reasonable place to post questions of this sort. Regards, Jon Peck -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Steve Few Sent: Saturday, July 18, 2009 10:18 AM To: [hidden email] Subject: [SPSSX-L] spss v17.0 and R 2.70 install and startup problem: connect SPSS script with R calling data from server. question: how to get it started? I can't get my start program to work in my SPSS 17 script which starts my R session and it's SQL passed to my Postgres database on the server. I went to the SPSS /devcentral site and downloaded the app that support R and scripting. I also uninstalled R 2.8, etc. There is no support on the SPSS site that I can find. Tech support said they are not equipped to know about spss/Devcentral tools. One clue was R: >library(foreign) >library(spss_17.0) the specifications the library I am not aware of or how to obtain it from R-project/CRAN. Any successful stories are welcomed! Steve [hidden email] ===================== 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 ===================== 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 |
| Free forum by Nabble | Edit this page |
