Revision: 447 http://rpy.svn.sourceforge.net/rpy/?rev=447&view=rev Author: lgautier Date: 2008-03-17 14:12:38 -0700 (Mon, 17 Mar 2008)
Log Message: ----------- - fixed import statement (rinterface is now %in% rpy) - added tentative string representation for R Modified Paths: -------------- branches/rpy_nextgen/rpy/robjects/__init__.py Modified: branches/rpy_nextgen/rpy/robjects/__init__.py =================================================================== --- branches/rpy_nextgen/rpy/robjects/__init__.py 2008-03-16 18:14:04 UTC (rev 446) +++ branches/rpy_nextgen/rpy/robjects/__init__.py 2008-03-17 21:12:38 UTC (rev 447) @@ -8,7 +8,7 @@ import os import array -import rinterface +import rpy.rinterface as rinterface #FIXME: close everything when leaving (check RPy for that). @@ -217,6 +217,12 @@ rinterface.endEmbeddedR() del(self) + def __str__(self): + s = super(R, self).__str__() + s += str(self["version"]) + return s + + r = R(["--no-save", "--quiet"]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list