Hello,
I have the following code:
from rpy import *
from easygui import *
myfile=fileopenbox()
r(""" dato<-read.csv(myfile) """)
and from this I obtain the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/tmp/python-12797-EL.py", line 12, in <module>
""")
File "~/rpy.py", line 322, in __call__
return self.eval(self.parse(text=s))
rpy.RPy_RException: Error in read.table(file=file, header=deader, sep=sep,
quote=quote, :
object "k" not found.
When I type k in the Python interpreter I can read the file that I originally
selected using the fileopenbox() function. Bu it seems I am missing some
specification I need to give to the k variable before I try to read it in R.
I am using Python 2.5.2, in Linux.
Thank you in advance for pointing me at what I am missing,
Judith
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list