Joaquim Abian wrote:
> Dear all,
> I have some problems using rpy.
> I instaled R-2.3.1 and rpy-1.0-RC1.win32-py24.exe and typed the import 
> instruction as follows:
>
>
> *********************************************************
> PyCrust 0.9.5 - The Flakiest Python Shell
> Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>
>  >>> from rpy import *
> RHOME= C:\Archivos de programa\R\R-2.3.1\
> RVERSION= 2.3.1
> RVER= 2031
> RUSER= C:\Documents and Settings\joaquin
> Loading the R DLL C:\Archivos de programa\R\R-2.3.1\bin\R.dll .. Done.
> Loading Rpy version 2031 .. Done.
> Creating the R object 'r' ..  Done
>  >>>
> ************************************************************
>
>
> It seems that everything is OK but when I searched for the funtions  and 
> atributes of the r Object I only found a few:
>
> **********************************************************
>  >>> dir(r)
> ['F', 'FALSE', 'NA', 'NAN', 'T', 'TRUE', '__call__', '__cleanup__', 
> '__doc__', '__getattr__', '__getitem__', '__help__', '__init__', 
> '__module__', '__repr__', '__str__', 'eval', 'get', 'help', 'helpfun', 
> 'options', 'parse']
>  >>>
> **************************************************************
> I was expecting to get things like r.plot() but these attributes where not 
> there (neither imported with *).
> Is there something wrong? How can I get all the R functions?
>
>   
That's because the __getattr__ function overlead the "." operator, so 
when you do r.plot(x) you're actually doing r.__getattr__("plot")(x)
> Thanks in advance
>
> Joaquin Abian
> PD I already sent a mail some days ago with another question about 
> compatibility with R2.4.0 but I got no response and, still more 
> strange,  the question has not been posted still in the mail list.  Im not 
> sure if this is the correct address. Please if someone receives this mail 
> let me know
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to