Re: [Rpy] read_table on RPy2

2009-08-14 Thread Milton Cezar Ribeiro
print robjects.r('ls()') mydf_onpython=robjects.r('mydf') print mydf_onpython Thanks a lot! milton 2009/8/14 Peter > 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() r

[Rpy] read_table on RPy2

2009-08-14 Thread Milton Cezar Ribeiro
Dear all, I installed RPy2 using python_rpy2 OSGeo4W installer. I run it under Msys, invoking python 2.5. Aparently it works for somethings, but not for others. I would like for example read a table from a ascii delimited file, but I don't found a reproducible example that works fine like imp

Re: [Rpy] Unable to plot

2009-08-07 Thread Milton Cezar Ribeiro
Hi there, I can't help you, but may be you miss one ) on the line of main? bests milton 2009/8/7 Jørgen Skancke > Hi, > > I mange to import rpy to python and I can use R functions, but not plot. > No plot window appears with this code: > > import rpy > x = range(0, 10) > y = [ 2*i for i in x ]

Re: [Rpy] win32api error under Vista 64b

2009-07-18 Thread Milton Cezar Ribeiro
Hi Peter, Thanks for your help. I must confess that I tryed to find the right link (with amd64 on the filename) without luck up to now. If anyone know what is the link, please, let me know. Happy weekend, milton brazil=toronto 2009/7/18 Peter > On Sat, Jul 18, 2009 at 1:24 AM, Milton Ce

[Rpy] win32api error under Vista 64b

2009-07-17 Thread Milton Cezar Ribeiro
Dear friends, I just installed RPy2 on my Vista 64 machine. I am running a test code like: #... import rpy2.tests import unittest # the verbosity level can be increased if needed tr = unittest.TextTestRunner(verbosity = 1) suite = rpy2.tests.suite() tr.run(suit

[Rpy] installing Rpy on /home/user directory.

2009-07-16 Thread Milton Cezar Ribeiro
Dear all, I just downloaded Rpy. It appears to be great! I compiled R 2.9.1 under Debian using : ./configure --enable-R-shlib make But when I try to install Rpy I get error, because I have no "root" privileges: === b3185-19:~/Desktop/rpy2-2.0.6$ python setup.py install running ins