On 2011-11-25 14:52, Luca Beltrame wrote:
I've been looking through the code and I have a couple of questions on design.
I wonder if
- it is preferable to hack in a special case of "tlist" being a Matrix in the
DataFrame constructor, e.g. if isinstance(tlist, Matrix);
- it is preferable (like I
I've been looking through the code and I have a couple of questions on design.
I wonder if
- it is preferable to hack in a special case of "tlist" being a Matrix in the
DataFrame constructor, e.g. if isinstance(tlist, Matrix);
- it is preferable (like I suggested at first) to have a separate pa
Hi Luca!
thats a good idea. If you could give feedback over yours code improvement,
I'll be glad.
It's a possibility with data.matrix
Cheers,
Arnaldo.
*Arnaldo D'Amaral Pereira Granja Russo*
Lab. de Estudos dos Oceanos e Clima
Instituto de Oceanografia
Universidade Federal do Rio Grande
e-mai
In data venerdì 25 novembre 2011 09:59:13, Luca Beltrame ha scritto:
> Weird. For reference, I have python 2.7 (distro-supplied), R 2.14 (packaged,
> but self compiled) and rpy 2.2.4 (self compiled).
I'm happy to report that it was a local installation issue: recompiling rpy2
fixed it.
--
Luca B
In data venerdì 25 novembre 2011 07:18:24, Laurent Gautier ha scritto:
> The "Python way" might be to add a switch in the constructors of the
> relevant classes (rpy2.robjects.vectors.Matrix and
> rpy2.robjects.vectors.DataFrame).
I was thinking of something like (for DataFrame):
def __init__(se
In data venerdì 25 novembre 2011 07:14:56, Laurent Gautier ha scritto:
> So it does work with R-2.14, Python 2.7, rpy2-2.2.4
Weird. For reference, I have python 2.7 (distro-supplied), R 2.14 (packaged,
but self compiled) and rpy 2.2.4 (self compiled).
I'll try installing rpy in a virtualenv (che