Re: [Rpy] Attribute "rownames" of DataFrame

2010-01-18 Thread Laurent Gautier
On 1/18/10 8:39 PM, Luca Beltrame wrote: > Hello, > > while working with DataFrames I noticed that "rownames" is a read-only > attribute (setting it raises an exception), and it's missing from > from_csvfile. > > However, some R packages (a few from Bioconductor, for example) expect to > access som

Re: [Rpy] "which" command - translation into RPy 2.1

2010-01-18 Thread Laurent
On 18/01/10 20:23, Luca Beltrame wrote: > In data lunedì 18 gennaio 2010 19:58:26, Laurent ha scritto: > > >> # translation of the R code into rpy2 >> > [snip] > > Thanks, I'll try that out. Is there a wiki for rpy2.1.x? Not currently. It could be arranged on either the Sourceforge or b

[Rpy] Attribute "rownames" of DataFrame

2010-01-18 Thread Luca Beltrame
Hello, while working with DataFrames I noticed that "rownames" is a read-only attribute (setting it raises an exception), and it's missing from from_csvfile. However, some R packages (a few from Bioconductor, for example) expect to access some data stored in the rownames: constructing a Data

Re: [Rpy] "which" command - translation into RPy 2.1

2010-01-18 Thread Luca Beltrame
In data lunedì 18 gennaio 2010 19:58:26, Laurent ha scritto: > # translation of the R code into rpy2 [snip] Thanks, I'll try that out. Is there a wiki for rpy2.1.x? The more I port my code to rpy 2.1 the more questions I get, and it would be nice to keep them somewhere so they could be useful f

Re: [Rpy] "which" command - translation into RPy 2.1

2010-01-18 Thread Laurent
On 18/01/10 16:47, Luca Beltrame wrote: Hello, I'm porting over some code from pure R to RPy2.1 (because I'm using R only to perform the calculations, as I much prefer the data in other structures that are more efficient) and I stumbled upon a function (which I didn't originally write) that uses

[Rpy] "which" command - translation into RPy 2.1

2010-01-18 Thread Luca Beltrame
Hello, I'm porting over some code from pure R to RPy2.1 (because I'm using R only to perform the calculations, as I much prefer the data in other structures that are more efficient) and I stumbled upon a function (which I didn't originally write) that uses "which". As far as I can remember, th