Dear All,

I am new to rpy.
Today, I just install rpy, R2.7, python2.5 and can successful use it under
windows.

Question1:

When I test the rpy using the following, I can get the plot, however, the R
Graphics will be blank, it does not respond.

from rpy import *
import math

x = range(0, 10)
y1 = [ 2*i for i in x ]
y2 = [ math.log(i+1) for i in x ]

r.plot_default(x, y1, col="blue", type="o")

#if I only execute  r.plot_default(x, y1, col="blue", type="o") for
one time,r, the  R Graphics will be blank, it does not respond. If I
repeat
r.plot_default(x, y1, col="blue", type="o"), the plot will come on the
R Graphics, what's the problem?


Quetsion2:

When using python:

>from rpy import *
>r.library("gplot")

the error comes:"there is no package for gplot"

How can I get the package?

Great thanks
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to