Re: [R] deSolve, unresolved namespace error -- solved

2013-11-07 Thread Thomas Petzoldt
We have been able to reproduce the reported issue on another Linux system: Fedora 19, and the solution was quite simple: The deSolve package must always to be loaded *before* loading the shared library of the compiled model. Thomas __ R-help@r-project

Re: [R] deSolve, unresolved namespace error

2013-11-06 Thread Thomas Petzoldt
On 11/6/2013 6:50 PM, Adam Clark wrote:> Addendum: unloading and reloading deSolve.so does indeed fix the problem: library.dynam.unload("deSolve", libpath=paste(.libPaths()[1], "//deSolve", sep="")) library.dynam("deSolve", package="deSolve", lib.loc=.libPaths()[1]) However, this is a little cl

Re: [R] deSolve, unresolved namespace error

2013-11-06 Thread Adam Clark
Addendum: unloading and reloading deSolve.so does indeed fix the problem: library.dynam.unload("deSolve", libpath=paste(.libPaths()[1], "//deSolve", sep="")) library.dynam("deSolve", package="deSolve", lib.loc=.libPaths()[1]) However, this is a little clunky, and seems like overkill. Does anybody

Re: [R] deSolve, unresolved namespace error

2013-11-06 Thread Prof Brian Ripley
On 06/11/2013 17:20, Adam Clark wrote: I'm having trouble running the "ode" function from the "deSolve" package. I am running RStudio under Ubuntu 13.1 I am running ode() on compiled code that returns delta values using the .C convention. While I can include an example of the code, I suspect th

[R] deSolve, unresolved namespace error

2013-11-06 Thread Adam Clark
I'm having trouble running the "ode" function from the "deSolve" package. I am running RStudio under Ubuntu 13.1 I am running ode() on compiled code that returns delta values using the .C convention. While I can include an example of the code, I suspect that it will not be helpful, since the prob