Hello everybody,

First of all thanks for your work on Rpy2.  I have some questions and I could 
not find answers in the manual. 

1) What is the difference between

   robjects.r[...]

and

   robjects.r(...)

2) why not

class R(object):
     def __getattr__(self,name): return robjects.r[name]
     def __call__(self,name): return robjects.r(name)
r=R

so one can do

   print r.pi #instead of robjects.r['pi']

3) I understand that robjects.r['pi'] returns a vector of one element. Is this 
an R "feature" or an rpy2 feature?

Thanks for your answers.

Massimo
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to