[Rpy] SF.net SVN: rpy:[714] trunk/htdocs

2008-12-13 Thread lgautier
Revision: 714 http://rpy.svn.sourceforge.net/rpy/?rev=714&view=rev Author: lgautier Date: 2008-12-13 09:26:25 + (Sat, 13 Dec 2008) Log Message: --- update the webpage to announce the release 2.0.0 Modified Paths: -- trunk/htdocs/news.data trunk/htdo

[Rpy] SF.net SVN: rpy:[715] rpy2/branches/version_2.0.x/rpy/rinterface/rinterface .c

2008-12-13 Thread lgautier
Revision: 715 http://rpy.svn.sourceforge.net/rpy/?rev=715&view=rev Author: lgautier Date: 2008-12-13 14:37:56 + (Sat, 13 Dec 2008) Log Message: --- fixed the license block Modified Paths: -- rpy2/branches/version_2.0.x/rpy/rinterface/rinterface.c Modif

Re: [Rpy] Accessing lm() elements

2008-12-13 Thread Gary Strangman
>> (Intercept) 10.9205792 2.9934159 3.6481997 0.001341692 >> prerbmt 0.4226101 0.1729016 2.4442236 0.022599474 >> mri -0.3495370 0.7497424 -0.4662095 0.645450898 >> >> ... and if I want the estimate for the 2nd coefficient ... >> > print summary[3][1] >> 0.4226101 > > You c

Re: [Rpy] Accessing lm() elements

2008-12-13 Thread Laurent Gautier
Gary Strangman wrote: > >>> (Intercept) 10.9205792 2.9934159 3.6481997 0.001341692 >>> prerbmt 0.4226101 0.1729016 2.4442236 0.022599474 >>> mri -0.3495370 0.7497424 -0.4662095 0.645450898 >>> >>> ... and if I want the estimate for the 2nd coefficient ... >>> >> print summary

[Rpy] Dataframe conversion question

2008-12-13 Thread Gary Strangman
Hi again, I have a list-of-lists that I want to convert to an R dataframe. (In R, it should end up as 306 rows by 12 columns.) The rpy2 instructions suggested in this forum were basically: (1) convert my list of lists to a list of array.array()s, (2) convert each array.array() to an RVector, (

Re: [Rpy] Dataframe conversion question

2008-12-13 Thread Marcos Silva
Well, I don't know RPy nor Python enought, and maybe I misunderstand your data structure, but did you tried the RPy corresponding to the R function"as.data.frame(dl)" Cheers 2008/12/13 Gary Strangman > > Hi again, > > I have a list-of-lists that I want to convert to an R dataframe. (In R, it >

Re: [Rpy] Dataframe conversion question

2008-12-13 Thread Laurent Gautier
Gary Strangman wrote: > Hi again, > > I have a list-of-lists that I want to convert to an R dataframe. (In R, it > should end up as 306 rows by 12 columns.) The rpy2 instructions suggested > in this forum were basically: (1) convert my list of lists to a list of > array.array()s, (2) convert ea