| Date: | Mon, 8 Mar 2010 08:50:59 +0100 |
| Reply-To: | eszter csernai <csernai.eszter@GMAIL.COM> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU> |
| From: | eszter csernai <csernai.eszter@GMAIL.COM> |
| Subject: | Re: downloading packages for SPSS 18 R plug-in |
| In-Reply-To: | <OF07172829.ADB94BA6-ONCA2576DD.00724516-CA2576DD.0072910F@us.ibm.com> |
| Content-Type: | multipart/alternative; |
|---|
Thanks very much for the quick answer, Jon.
It was such a stupid mistake:
I wrote the program in R directly, and since there the package I wanted to
use had been loaded by default, I did not need to use the library()
function.
So when I copied the syntax into SPSS, the library() call was missing...
I guess this is the type of mistake, you don't forget...
On 5 March 2010 21:51, Jon K Peck <peck@us.ibm.com> wrote:
>
> Jon Peck
> SPSS, an IBM Company
> peck@us.ibm.com
> 312-651-3435
>
>
> From: eszter csernai <csernai.eszter@GMAIL.COM> To:
> SPSSX-L@LISTSERV.UGA.EDU Date: 03/06/2010 07:24 AM Subject: [SPSSX-L]
> downloading packages for SPSS 18 R plug-in Sent by: "SPSSX(r) Discussion"
> <SPSSX-L@LISTSERV.UGA.EDU>
> ------------------------------
>
>
>
> Hello,
>
> I can only run R code that uses the packages installed with the plug-in.
>
> I would like to use other packages downloaded from cran.r-project.org,
> but SPSS does not seem to see them.
> >>>You have to install other packages using R directly, or at least by
> writing some R code. Then you need a library() call in your SPSS R program.
> The example packages we install illustrate this.
>
>
> I understand that SPSS uses R 2.8, I also have R 2.10 installed on the PC,
> but I can't figure out where the problem is.
> >>>The R Essentials installs the correct version of R, but having multiple
> versions of R installed is not a problem. Of course, to use an R package
> with SPSS it has to be installed in the right R version. Installing it in
> 2.10 does not make it available in 2.8.
>
> HTH,
> Jon Peck
>
>
> Can you help with any ideas?
>
> Thanks very much,
> Eszter
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> LISTSERV@LISTSERV.UGA.EDU (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
>
>
>
[text/html]
|