Re: [Rpy] undefined symbol: Rf_allocS4Object

2009-10-05 Thread Sebastian Żurek
> Did you compile R with --enable-R-shlib ? (I should have started there, > I suppose). Yes, this flag is enabled. (I should have starded with all R configure options provided, I suppose :D I've used only the two: --prefix=/home/sebzur/R_2.8.1 and --enable-R-shlib) Without --enable-R-shlib rpy2

Re: [Rpy] undefined symbol: Rf_allocS4Object

2009-10-05 Thread Laurent Gautier
Sebastian Żurek wrote: (...) Did you compile R with --enable-R-shlib ? (I should have started there, I suppose). If you are not sure, what gives ls /home/sebzur/R_2.8.1/lib/R/lib (...) > Can the Rdynload compiling problem be related to my issue? > Likely not (those warnings are around for eve

Re: [Rpy] rpy syntax error...

2009-10-05 Thread Peter
On Mon, Oct 5, 2009 at 3:53 PM, Nick Schurch wrote: > > Thanks for the answer peter, but I'm still having an issue... > > When I try: > > result<-r.pvclust(data=data, method_hclust="complete", > method_dist="correlation", nboot=1, init_rand=TRUE, seed=NULL) > > I get: > > NameError: name 'resu

Re: [Rpy] undefined symbol: Rf_allocS4Object

2009-10-05 Thread Sebastian Żurek
> Keep this thread on the list, please. Someone else with the same problem > in the future may find it helpful. The last e-mail was supposed to be send to this list, but it accidentally went to Laurent private e-mail (I've attached the full context is at the bottom of this message) >What woul

Re: [Rpy] rpy syntax error...

2009-10-05 Thread Nick Schurch
Thanks for the answer peter, but I'm still having an issue... When I try: result<-r.pvclust(data=data, method_hclust="complete", method_dist="correlation", nboot=1, init_rand=TRUE, seed=NULL) I get: NameError: name 'result' is not defined Do I need to predefine result as an rpy object or s

Re: [Rpy] undefined symbol: Rf_allocS4Object

2009-10-05 Thread Laurent Gautier
I can guess that you are using R-2.8.1 from the path in the error messate, but version numbers for Python and rpy2, and the OS you are using, would be nice to have. This might be caused by mixing R versions. What do return the following shell commands: which R R --version L. Sebasti

Re: [Rpy] Building rpy in the home directory

2009-10-05 Thread Willem Ligtenberg
This seems to have resolved my problem: http://www.mail-archive.com/rpy-list@lists.sourceforge.net/msg01500.html Cheers, Willem On Mon, Oct 5, 2009 at 11:57, Peter wrote: > On Mon, Oct 5, 2009 at 10:43 AM, Willem Ligtenberg > wrote: >> >> Hi, >> I need to build rpy on our cluster. Therefore I

Re: [Rpy] Building rpy in the home directory

2009-10-05 Thread Laurent Gautier
The following may make one: LD_LIBRARY_PATH=/home/wligtenb/R/lib(64)?/R/lib:${LD_LIBRARY_PATH} (note that it might be 'lib' or 'lib64'). Laurent Willem Ligtenberg wrote: > Hi Peter, > > That doesn't make any difference. > > Cheers, > > Willem > > On Mon, Oct 5, 2009 at 11:57, Peter wrot

Re: [Rpy] Building rpy in the home directory

2009-10-05 Thread Willem Ligtenberg
Hi Peter, That doesn't make any difference. Cheers, Willem On Mon, Oct 5, 2009 at 11:57, Peter wrote: > On Mon, Oct 5, 2009 at 10:43 AM, Willem Ligtenberg > wrote: >> >> Hi, >> I need to build rpy on our cluster. Therefore I can only build stuff >> in my home directory. >> I have successfully

Re: [Rpy] Building rpy in the home directory

2009-10-05 Thread Peter
On Mon, Oct 5, 2009 at 10:43 AM, Willem Ligtenberg wrote: > > Hi, > I need to build rpy on our cluster. Therefore I can only build stuff > in my home directory. > I have successfully installed Python, numpy and R in my home. Now I am > running into problems with rpy. > I configured R as follows: >

[Rpy] Building rpy in the home directory

2009-10-05 Thread Willem Ligtenberg
Hi, I need to build rpy on our cluster. Therefore I can only build stuff in my home directory. I have successfully installed Python, numpy and R in my home. Now I am running into problems with rpy. I configured R as follows: ./configure --prefix=/home/wligtenb/R --enable-R-shlib make prefix=/home/