Skip to content
Prev 30486 / 63421 Next

Linking to headers and shared library in another package

Please review the latest version of 'Writing R Extensions'.  What is 
documented there has been tested with packages in different libraries, 
including none in $(R_HOME)/library.

Note however that on a Unix-alike linking even to 
$(R_HOME)/library/firstPkg/libs/firstPkg.so cannot work in general as that 
location is not in the ld.so search path when R is started and so the .so 
will not be located.
On Tue, 11 Nov 2008, Iago Mosqueira wrote:

            
See the Windows examples in 'Writing R Extensions' (for this can be made 
to work on Windows).