Re: [Rpy] rpy2 Segmentation Fault Accessing List By Index

2009-04-12 Thread Mark Larsen
> ?! Weren't you on a Linux machine ? > (aqua is for OS X, and your machine is amd64 - not something OS X is > known to be officially working on) Yes, Gentoo linux. > Did you try having the install clearly distinct by using the option > --prefix (and a setting PYTHONPATH accordingly) ? I ended u

Re: [Rpy] rpy2 Segmentation Fault Accessing List By Index

2009-04-11 Thread laurent
On Fri, 2009-04-10 at 12:51 -0400, Mark Larsen wrote: > Thanks Laurent. > > > Where was the hack needed ? > > Setting your target R as the first one found in the PATH should be > > enough. > > You are correct, I didn't need to hack it, I wasn't sure. My hack was > to hardcode RHOMES. Well, on

Re: [Rpy] rpy2 Segmentation Fault Accessing List By Index

2009-04-10 Thread Mark Larsen
Thanks Laurent. > Where was the hack needed ? > Setting your target R as the first one found in the PATH should be > enough. You are correct, I didn't need to hack it, I wasn't sure.  My hack was to hardcode RHOMES. A little progress.  rpy2.robjects imports against R version 2.8.1 but when I do

Re: [Rpy] rpy2 Segmentation Fault Accessing List By Index

2009-04-10 Thread laurent
On Thu, 2009-04-09 at 21:45 -0500, Mark Larsen wrote: > Hate to keep replying to my own message but... > > I thought I'd throw a newer version of R at this problem. My above > errors are with 2.7.1 and I thought I'd test with 2.8.2 (my > development box, where all works well is at 2.7.2). I ke

Re: [Rpy] rpy2 Segmentation Fault Accessing List By Index

2009-04-09 Thread laurent
On Thu, 2009-04-09 at 15:59 -0400, Mark Larsen wrote: > I have an R function that returns a list of Matrices and Vectors. > > I've been processing the return list like: > > rpyRV = rpy2.robjects.r.someFunc() > for property,rObj in zip([i for i in rpyRV.getnames()],[i for i in > rpyRV]): > # d

Re: [Rpy] rpy2 Segmentation Fault Accessing List By Index

2009-04-09 Thread Mark Larsen
Hate to keep replying to my own message but... I thought I'd throw a newer version of R at this problem. My above errors are with 2.7.1 and I thought I'd test with 2.8.2 (my development box, where all works well is at 2.7.2). I kept my main 2.7.1 install in /usr/lib64 and installed 2.8.2 into /u

Re: [Rpy] rpy2 Segmentation Fault Accessing List By Index

2009-04-09 Thread Mark Larsen
Sorry, forgot the backtrace --> (gdb) run test.py Starting program: /usr/bin/python test.py (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 46912506825472 (LWP 7658)] [New Thread 1082132832 (LWP 7675)] [New Thread 1090525536 (LWP 7676)] Program received sign

[Rpy] rpy2 Segmentation Fault Accessing List By Index

2009-04-09 Thread Mark Larsen
I have an R function that returns a list of Matrices and Vectors. I've been processing the return list like: rpyRV = rpy2.robjects.r.someFunc() for property,rObj in zip([i for i in rpyRV.getnames()],[i for i in rpyRV]): # do stuff with results On my development box (64 bit, dual XEON) everythi