Revision: 634 http://rpy.svn.sourceforge.net/rpy/?rev=634&view=rev Author: lgautier Date: 2008-08-18 07:22:09 +0000 (Mon, 18 Aug 2008)
Log Message: ----------- Tentative fix for multi-lines object representation on Win32. 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-08-17 10:58:53 UTC (rev 633) +++ branches/rpy_nextgen/rpy/robjects/__init__.py 2008-08-18 07:22:09 UTC (rev 634) @@ -107,9 +107,9 @@ py2ro = default_py2ro -def repr_robject(o): +def repr_robject(o, linesep=os.linesep): s = r.deparse(o) - s = str.join(os.linesep, s) + s = str.join(linesep, s) return s @@ -137,7 +137,7 @@ return s def __repr__(self): - return repr_robject(self) + return repr_robject(self, linesep='\n') def rclass(self): """ Return the name of the R class for the object. """ 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 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 rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list