Revision: 605
          http://rpy.svn.sourceforge.net/rpy/?rev=605&view=rev
Author:   lgautier
Date:     2008-08-03 09:13:33 +0000 (Sun, 03 Aug 2008)

Log Message:
-----------
docstrings

Modified Paths:
--------------
    branches/rpy_nextgen/rpy/rinterface/__init__.py

Modified: branches/rpy_nextgen/rpy/rinterface/__init__.py
===================================================================
--- branches/rpy_nextgen/rpy/rinterface/__init__.py     2008-08-03 09:13:04 UTC 
(rev 604)
+++ branches/rpy_nextgen/rpy/rinterface/__init__.py     2008-08-03 09:13:33 UTC 
(rev 605)
@@ -36,16 +36,25 @@
 from rpy2.rinterface.rinterface import *
 
 class StrSexpVector(SexpVector):
-    def __init__(self, v):        
+    """ 
+    Vector of strings.
+    """
+    def __init__(self, v):
         super(StrSexpVector, self).__init__(v, STRSXP)
 
 
 class IntSexpVector(SexpVector):
+    """ 
+    Vector of integers.
+    """
     def __init__(self, v):        
         super(StrSexpVector, self).__init__(v, INTSXP)
 
 
 class FloatSexpVector(SexpVector):
+    """ 
+    Vector of floats.
+    """
     def __init__(self, v):        
         super(StrSexpVector, self).__init__(v, REALSXP)
 
@@ -53,6 +62,7 @@
 # wrapper because print is strangely not a function
 # Python prior to version 3.0
 def consolePrint(x):
+    """ Wrapper around Python's print. This is the default callback for R's 
console. """
     print(x)
 
 setWriteConsole(consolePrint)


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

Reply via email to