The integration no print R output

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

The integration no print R output

Carlos Renato
I am running SPSS version 19 with R-Project 2.10 and installed integration package for these programs. The editor supports syntax seems to BEGIN PROGRAM R. and END PROGRAM. However, the outputs of R does not appear. What might be happening?
Reply | Threaded
Open this post in threaded view
|

Re: The integration no print R output

Jon K Peck
There can be a problem with the temporary directory used for holding the R output en route to the Viewer.  Check that the Windows temporary directory and the SPSS temporary directory in Edit>Options>Files are consistent.  (They don't have to be, but that might avoid other problems.)  Also, some older Statistics versions had problems in this area if the temporary directory name contains spaces or accented characters.  Be sure that you have installed the fixpack for V19 and have the latest R Essentials for V19 installed.

HTH,

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




From:        Carlos Renato <[hidden email]>
To:        [hidden email]
Date:        11/20/2011 06:56 AM
Subject:        [SPSSX-L] The integration no print R output
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




I am running SPSS version 19 with R-Project 2.10 and installed integration
package for these programs. The editor supports syntax seems to BEGIN
PROGRAM R. and END PROGRAM. However, the outputs of R does not appear. What
might be happening?

--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/The-integration-no-print-R-output-tp5008204p5008204.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: The integration no print R output

Carlos Renato
Dear Jon Peck

Where can I get the fix pack for spss 19?

Thanks.

Carlos Renato
Reply | Threaded
Open this post in threaded view
|

Re: The integration no print R output

Carlos Renato
In reply to this post by Jon K Peck
Friends

Even this simple request carries normally. No error message appears, but no output R is provided.

BEGIN PROGRAM R.
spsspkg.SetOutput("ON")
a<-c(31,21)
print(sum(a))
END PROGRAM.

I pushed the output through spsspkg.SetOutput("ON"). Still does not work.

Carlos Renato
Statistcian
Reply | Threaded
Open this post in threaded view
|

Re: The integration no print R output

Albert-Jan Roskam
This is no solution, but what happens if you run
write.csv(1:10. 'd:/temp/test.csv')

If the file is created, at least you know R is doing something.
What Spss version are you using? Do the plugin and the R (sub)version match with the Spss version? Did you try if R runs at all?
 
Cheers!!
Albert-Jan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a fresh water system, and public health, what have the Romans ever done for us?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From: Carlos Renato <[hidden email]>
To: [hidden email]
Sent: Monday, November 21, 2011 5:08 PM
Subject: Re: [SPSSX-L] The integration no print R output

Friends

Even this simple request carries normally. No error message appears, but no
output R is provided.

BEGIN PROGRAM R.
spsspkg.SetOutput("ON")
a<-c(31,21)
print(sum(a))
END PROGRAM.

I pushed the output through spsspkg.SetOutput("ON"). Still does not work.

Carlos Renato
Statistcian

--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/The-integration-no-print-R-output-tp5008204p5010921.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: The integration no print R output

Carlos Renato
In reply to this post by Carlos Renato
Dear friends

Thanks for all.

Problem solved. I was running with R2.10.0. R2.10.1 installed the problem ended.

Carlos Renato
Statistician
Reply | Threaded
Open this post in threaded view
|

Re: The integration no print R output

Barry
I'm running R2.10.0

How do I get install 2.10.1?  (I've mucked around on CRAN, and couldn't find it).

Thanks,
Barry DeCicco

 
Carlos Renato wrote
Dear friends

Thanks for all.

Problem solved. I was running with R2.10.0. R2.10.1 installed the problem ended.

Carlos Renato
Statistician
Reply | Threaded
Open this post in threaded view
|

Re: The integration no print R output

Barry
And, of course, found it one minute after I posted the request.

Reply | Threaded
Open this post in threaded view
|

Re: The integration no print R output

Carlos Renato

Dear friend

Still goes to others who have the same question.
http://cran-r.c3sl.ufpr.br/bin/windows/base/old/2.10.1/R-2.10.1-win32.exe


Thanks.

Carlos Renato
Statistician - Brazil
Reply | Threaded
Open this post in threaded view
|

Automatic reply: The integration no print R output

Ling Ting

I am out of office and will return on 11/30/2011.  I will have very limited access to email. If you need immediate assistance please contact 479-575-2905.  Thank you.