Hi Peter, thanks for the reply.
Following your tips, o got good results with:
from rpy2 import robjects
robjects.r('x=1:10')
robjects.r('y=runif(10)')
print robjects.r('ls()')
aa=robjects.r('x')
print aa
robjects.r('mydf=data.frame(cbind(x,y))')
print robjects.r('ls()')
mydf_onpython=robjects.r('
On Fri, Aug 14, 2009 at 10:57 PM, Milton Cezar Ribeiro wrote:
> I also tryed to get back on python environment
> the results of ls() read from R, but I get error.
>
> import rpy2.robjects as robjects
> print robjects.["ls()"]
That looks wrong, it isn't valid python syntax. Also for calling
f