[Rd] DLL modules with other dependent libraries

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu May 5 07:58:34 CEST 2005


On Wed, 4 May 2005, Marcus G. Daniels wrote:

> In R for Windows, is there a preferred way to handle R extensions that 
> provide native code that depend upon one or more third party DLLs?  If I put 
> those DLLs in the library/MODULE/libs it doesn't find them.  In other words, 
> my MODULE.dll has other DLLs it uses, but they aren't standard and it would 
> be unlikely to find them in the system path. 
> Thanks for any suggestions!

Set the path for the loading of the DLL.  One example is tcltk in the R 
sources, and it is done for several of the binary packages I distribute.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list