From ripley at stats.ox.ac.uk  Thu May  5 07:58:34 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu May  5 07:58:43 2005
Subject: [Rd] DLL modules with other dependent libraries
In-Reply-To: <42792995.2070202@santafe.edu>
References: <42792995.2070202@santafe.edu>
Message-ID: <Pine.LNX.4.61.0505050652440.18845@gannet.stats>

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@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


[Rd] DLL modules with other dependent libraries
Prof Brian Ripley