Re: [Rd] Problem with dyn.load'ed code

2008-01-01 Thread Matt Calder
named R_func_*. This is going to be my new SOP. Thanks again Andrew, and also Simon. I greatly appreciate you taking your time to solve this problem for me. Matt On Mon, 2007-12-31 at 15:30 -0500, Andrew Piskorski wrote: > On Sun, Dec 30, 2007 at 10:43:50PM -0500, Matt Cal

Re: [Rd] Problem with dyn.load'ed code

2007-12-30 Thread Matt Calder
is wrong, but how does one accomplish the same thing? Thanks for any help, Matt On Sun, 2007-12-30 at 20:21 -0500, Simon Urbanek wrote: > Matt, > > On Dec 30, 2007, at 5:25 PM, Matt Calder wrote: > > > I am still having trouble dyn.load'ing s

[Rd] Problem with dyn.load'ed code

2007-12-30 Thread Matt Calder
All, I am still having trouble dyn.load'ing some code into R. I have isolated the problem, I wonder if someone could explain what I am seeing. I think the problem is that a symbol defined in my compiled code clashes with one already defined in R. The result is that the function in

[Rd] Problem with dyn.load'ed code

2007-12-23 Thread Matt Calder
Hi, I am having trouble with some code that I am dyn.loading. I am writing an interface to ARPACK. I compile my interface (dssimp.cc), and link it against the ARPACK library (libarpack_SUN4.a): g++ -shared -static -fPIC dssimp.cc -o dssimp.so -larpack_SUN4 -lg2c -lm I can dyn.load the code