I'm having problems using RPy, on Mac 0SX(10.4) via Fink to generate  
plots.
I installed Python2.4 and RPy, both via Fink (& both from source).

Prior to starting python, I:

        1) started XWindows (specifically: launched the xterm application)
        2) setenv DISPLAY ':0.0'  (I'm using tcsh)

RPy seems to work ok for non-graphics.
RPy works *up to a point* with graphics, e.g.:

        r.plot(1)
        
generates the appropriate plot, but     as son as I move the window, I  
get this error:

        >>> Error during wrapup: C stack usage is too close to the limit
        
         *** caught bus error ***
        address 0x1f, cause 'non-existent physical address'
        
        Possible actions:
        1: abort (with core dump)
        2: normal R exit
        3: exit R without saving workspace
        4: exit R saving workspace
        Selection:

and the python interpreter hangs.
X11 seems to be  stable *except* with RPy

I would really rather not use X11 at all.  Can I get RPy to generate  
graphics with the Macintosh native ("Quartz") engine? R binaries for  
Macintosh do that out-of-the-box (I got mine from http://rh- 
mirror.linux.iastate.edu/CRAN/)
Fink, of course, installs its own copy of R (in /sw/bin) which  
probably knows nothing about Quartz.

Quartz graphics from RPy is important to me.  >50% of my reason for  
installing RPy was a need to export graphics from Python / matplotlib  
in a vector-graphics format such as PDF.
Several simpler approaches failed, & I know if I can get screen- 
graphics via Quartz, saving as PDF should be trivial.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to