rpy2

Python interface for R Programming Language

Python interface for R Programming Language Question: I am quite new to R, and pretty much used to python. I am not so comfortable writing R code. I am looking for python interface to R, which lets me use R packages in pythonic way. I have done google research and found few packages which can …

Total answers: 3

How do Rpy2, pyrserve and PypeR compare?

How do Rpy2, pyrserve and PypeR compare? Question: I would like to access R from within a Python program. I am aware of Rpy2, pyrserve and PypeR. What are the advantages or disadvantages of these three options? Asked By: DanB || Source Answers: From the paper in the Journal of Statistical Software on PypeR: RPy …

Total answers: 4

Converting python objects for rpy2

Converting python objects for rpy2 Question: The following code is supposed to create a heatmap in rpy2 import numpy as np from rpy2.robjects import r data = np.random.random((10,10)) r.heatmap(data) However, it results in the following error Traceback (most recent call last): File “z.py”, line 8, in <module> labRow=rowNames, labCol=colNames) File “C:Python25libsite-packagesrpy2robjects__init__.py”, line 418, in __call__ …

Total answers: 3