Hi,

The development version of rpy2 is being added features to make the R 
documentation dynamically accessible as Python docstrings for the 
relevant objects; this should be a major improvements for people running 
interactive sessions.

If anyone is/was interested in the feature testing early improves the 
odds of finding problems before the release, so please do it. 
rpy2-2.3.0-dev is currently fairly stable (i.e., crash-wise - the API is 
not).

Using iPython 0.11, a test run goes like this:

In [1]: import rpy2.interactive as r
Pydoc generator: oddity with "_Last_value"
In [2]: r.importr('cluster') # may take few seconds...
Out[2]: rpy2.robjecs.packages.Package as a <module 'cluster' (built-in)>
In [3]: %pdoc r.packages.cluster.mona
Class Docstring:
     MONothetic Analysis Clustering of Binary Variables
     [  -  exported ]
     ** Experimental dynamic conversion of the associated R documentation **

       Returns a list representing a divisive hierarchical clustering of
       a dataset with binary variables only.



     mona(x)



     Parameters:

     x --
         data matrix or data frame in which each row corresponds to an
         observation, and each column corresponds to a variable.  All
         variables must be binary.  A limited number of missing values (NAs)
         is allowed. Every observation must have at least one value 
different
         from NA.  No variable should have half of its values missing. There
         must be at least one variable which has no missing values.  A
         variable with all its non-missing values identical, is not allowed.


     Returns:

       an object of class '"mona"' representing the clustering.
       See 'mona.object' for details.


     See Also:

       'agnes' for background and references;
       'mona.object', 'plot.mona'.




The current target R version for rpy2-2.3.0 is the unreleased R version 
2.14, and one will remember that the installation needs an extra switch:
python setup.py build_ext --ignore-check-rversion install



Laurent


------------------------------------------------------------------------------
Malware Security Report: Protecting Your Business, Customers, and the 
Bottom Line. Protect your business and customers by understanding the 
threat from malware and how it can impact your online business. 
http://www.accelacomm.com/jaw/sfnl/114/51427462/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to