Re: [Rd] Getting 'LinkingTo' to find the right library

2009-02-02 Thread Setzer . Woodrow
r Computational Toxicology http://www.epa.gov/comptox US Environmental Protection Agency Mail Drop B205-01/US EPA/RTP, NC 27711 Ph: (919) 541-0128Fax: (919) 541-1194). Prof Brian Ripley wrote on 02/02/2009 04:22:52 PM: > [image removed] > > Re: [Rd] Getting 'LinkingTo' to find t

Re: [Rd] Getting 'LinkingTo' to find the right library

2009-02-02 Thread Prof Brian Ripley
Where did you get the idea that R CMD INSTALL is reading .Rprofile? (AFAIR it does so only to find the installation library, as R CMD INSTALL --help says it will.) You need to set R_LIBS in the environment to get the library path you want. This is not specific to 'LinkingTo'. On Mon, 2 Feb

[Rd] Getting 'LinkingTo' to find the right library

2009-02-02 Thread Setzer . Woodrow
I am experimenting with exporting pointers to some of the functions in deSolve so that other packages may import them, using the 'R_RegisterCCallable' mechanism. I have added a header file and some other C code in inst/include of the deSolve source package that need to be accessible to other pack