[R] ANN: RPy (R from Python) 0.2

Walter Moreira walterm at cmat.edu.uy
Mon Apr 15 03:12:36 CEST 2002


RPy version 0.2 is released.  You can download it from the Sourceforge site:



RPy is a very simple, yet robust, Python interface to the R Programming
Language (http://www.r-project.org).  It can manage all kinds of R objects and
can execute arbitrary R functions (including the graphic functions).  All the
errors from the R language are converted to Python exceptions.  Any module
that later were installed on the R system, can easily be used from within
Python, without introducing any changes.  Currently it works only on POSIX


Fixed bugs

o There were several bugs related to memory and R and Python garbage
  collectors, which caused Python segfaults.
o There was a problem with signals traped by R, which made Python crash when
  <Ctl-C> was pressed.
o R objects of class 'factor' or 'data.frame' were incorrect converted to
o Instances of any class converted to R were treated as sequences and made
  Python segfault.


o RPy has now a new system for conversion of types from R to Python (see the
  docs), which includes user defined conversion functions.
o The conversion to R types is also customizable.
o Some utility functions are added.
o When Numeric (NumPy) is available, it is used for the standard conversion
  between R arrays and Python objects.


o The documentation is converted to texinfo format, updated and enlarged.  In
  particular, better documentation for the compilation procedure and for the
  location of libraries is included.


o There are now some examples included in the distribution.
o Regression tests are also included.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list