pyRserve 0.5.2 released

Skip to first unread message

Ralph Heinkel

Dec 6, 2011, 3:37:09 PM12/6/11

pyRserve 0.5.2 released

The latest version is now availabel via pypi (easy_install -U pyRserve).

About pyRserve

pyRserve is a (pure python) client for connecting Python to an R process on a remote server via TCP-IP (using Rserve). Through such a connection variables can be get and set in R from Python, and also R-functions can be called remotely. No R-related libraries need to be installed on the client side.

Sample code

>>> from pyRserve import connect
>>> conn = connect('your R server')
>>> conn.r('1+1')                # direct evaluation of a statement
>>> conn.r.myList = [1, 2, 3]    # bind a list within R to variable 'myList'

>>> conn.r('func1 <- function(v) { v*2 }') # create a function in R
>>> conn.r.func1(4)                        # call the function in R

Changes in V 0.5.2

  • Fixed bug with 32bit integers on 64bit machines. Upgrade highly recommended!

Documentation and Support

The documentation for pyRserve is available at

Reply all
Reply to author
0 new messages