Re: [Rpy] segfault and 'release unlocked lock'

2008-05-09 Thread Andrew Dalke
On May 7, 2008, at 1:02 AM, Andrew Dalke wrote: > I've been having a lot of problems with intermittent crashes while > using RPy under a rather old Python 2.4.2 install, with no Numeric > support whatsoever. This is all under Linux. > *** caught segfault *** > address 0x3

[Rpy] segfault and 'release unlocked lock'

2008-05-06 Thread Andrew Dalke
I've been having a lot of problems with intermittent crashes while using RPy under a rather old Python 2.4.2 install, with no Numeric support whatsoever. This is all under Linux. Here's an example of the code which causes a crash. I'm loading an R file and want to verify that it only conta

Re: [Rpy] making a data.frame with parameters in a fixed order

2008-05-06 Thread Andrew Dalke
On Apr 29, 2008, at 5:03 PM, Gregory Warnes wrote: > There are a couple of solutions. One, as you describe, is to > construct an R expression in a string and have R evaluate the > string. Another solution is to create the data frame object > without names, then add the names in a separate

[Rpy] making a data.frame with parameters in a fixed order

2008-04-28 Thread Andrew Dalke
I'm having problems using RPy to create a data.frame which is passed to an R function. The problem is that I need to initialize the data.frame with the parameters in a specified order. The normal way, of doing r.data_frame(MW=120.3, NUM_C=5, SMILES="c1n1") does not work because the p