Re: [Rpy] names of columns in dataframe

2009-07-27 Thread Anne Ghisla Insubriae
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Laurent Gautier ha scritto: > Anne Ghisla wrote: >> Hi list, >> >> I'm using packaged rpy2 on Debian Squeeze in a python-grass script to >> perform kriging and, among other things that rpy2 executes smoothly, I >> need tho change the names of two colum

[Rpy] [ rpy-Bugs-2827401 ] rpy2-2.0.6 setup fails on amd64

2009-07-27 Thread SourceForge.net
Bugs item #2827401, was opened at 2009-07-26 19:44 Message generated for change (Settings changed) made by lgautier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=453021&aid=2827401&group_id=48422 Please note that this message will contain a full copy of the commen

Re: [Rpy] Getting Python objects out of rpy2, rnumpy

2009-07-27 Thread Laurent Gautier
It will likely return something inaccurate with the following import rpy2.robjects as ro my_list = ro.r('list(a=1, b=2, a="a", c=3, a=TRUE)') L. Jon Olav Vik wrote: > I have had great use of rpy2, especially with the rnumpy and ipy_rnumpy > wrappers. One useful feature of rnumpy [1] is

Re: [Rpy] names of columns in dataframe

2009-07-27 Thread Laurent Gautier
Anne Ghisla wrote: > Hi list, > > I'm using packaged rpy2 on Debian Squeeze in a python-grass script to > perform kriging and, among other things that rpy2 executes smoothly, I > need tho change the names of two columns in a dataframe. > This edit is necessary because the dataframe coming from pre

[Rpy] names of columns in dataframe

2009-07-27 Thread Anne Ghisla
Hi list, I'm using packaged rpy2 on Debian Squeeze in a python-grass script to perform kriging and, among other things that rpy2 executes smoothly, I need tho change the names of two columns in a dataframe. This edit is necessary because the dataframe coming from previous as.data.frame command rec

[Rpy] Getting Python objects out of rpy2, rnumpy

2009-07-27 Thread Jon Olav Vik
I have had great use of rpy2, especially with the rnumpy and ipy_rnumpy wrappers. One useful feature of rnumpy [1] is autoconversion from Python to R objects, which will also deal with nested lists/dicts. Is there an equally convenient way of getting a Python dict or list out of an R list, poss