Hi June Kim,
Thats great. Both examples you supplied work for me.
Thanks for your help.
Wayne
> Date: Thu, 23 Jul 2009 16:17:11 +0900
> Subject: Re: [Rpy] RPy2 win xp R plotting
> From: junea...@gmail.com
> To: lgaut...@gmail.com
> CC: rpy-list@lists.
Two working examples, tested on DOS console and IDLE.
#test1.py
#r gui in a separate thread with processevents
from rpy2 import robjects
from rpy2 import rinterface
import thread
def refresh():
while True:
rinterface.process_revents()
time.sleep(0.1)
def plot():
r
On Thu, Jul 23, 2009 at 2:44 PM, Laurent Gautier wrote:
> I am curious to hear whether this is changing much, since the win32-specific
> fix proposed has been implemented since 2.0.3
> (http://rpy.sourceforge.net/rpy2/doc/html/changes.html#new-features)
Yes, that works, too.
>
> You can also see
I am curious to hear whether this is changing much, since the
win32-specific fix proposed has been implemented since 2.0.3
(http://rpy.sourceforge.net/rpy2/doc/html/changes.html#new-features)
You can also see it for yourself here:
http://bitbucket.org/lgautier/rpy2/src/6c793f1f1a37/rpy/rinterface
Look at how I solved that problem. I have no problem with plot window currently.
http://sourceforge.net/tracker/?func=detail&atid=453021&aid=1944503&group_id=48422
On Wed, Jul 22, 2009 at 12:45 AM, wayne jones wrote:
>
> Hi Everyone,
>
> I am trying to run the following simple script to test R
; Wayne
>
>
> > Date: Tue, 21 Jul 2009 18:45:27 +0200
> > From: lgaut...@gmail.com
> > To: dy...@jhmi.edu; wayne_be...@hotmail.com
> > CC: rpy-list@lists.sourceforge.net
> > Subject: Re: [Rpy] RPy2 win xp R plotting
> >
> >
> http://rpy.sourceforge.net
: rpy-list@lists.sourceforge.net
> Subject: Re: [Rpy] RPy2 win xp R plotting
>
> http://rpy.sourceforge.net/rpy2/doc/html/rinterface.html?highlight=even#graphical-devices
>
>
> Daniel Yuan wrote:
> > On Jul 21, 2009, at 11:45 AM, wayne jones wrote:
> >
> &g
http://rpy.sourceforge.net/rpy2/doc/html/rinterface.html?highlight=even#graphical-devices
Daniel Yuan wrote:
> On Jul 21, 2009, at 11:45 AM, wayne jones wrote:
>
>> However if I run this script line by line in the python terminal
>> window then
>> the graphics appears but no graph is displayed
On Jul 21, 2009, at 11:45 AM, wayne jones wrote:
However if I run this script line by line in the python terminal
window then
the graphics appears but no graph is displayed and when I try to
move or resize the
plot it fails and eventually crashes Python.
Perhaps this is a clue: On Mac OS X
Hi Everyone,
I am trying to run the following simple script to test R graphics using rpy2:
import rpy2.robjects as robjects
r = robjects.r
m = r.matrix(r.rnorm(100), ncol=5)
pca = r.princomp(m)
r.plot(pca, main="Eigen values")
If I run this script from Idle everything works
10 matches
Mail list logo