Re: [Rd] Telling Windows how to find DLL's from R?

From: Duncan Murdoch <>
Date: Fri, 09 Jul 2010 15:48:38 -0400

On 09/07/2010 2:38 PM, Dominick Samperi wrote:
> Is it possible to set Windows' search path from within R, or
> to tell Windows how to find a DLL in some other way from
> R? Specifically, if a package DLL depends on another DLL
> the normal requirement is that the second DLL be in the
> search path so Windows can find it (there are other tricks,
> but they apply at the Windows level, not at the R level).

I haven't tried this, but can't you use Sys.setenv() to change the PATH to what you want? Presumably you'll want to change it back afterwards.

Duncan Murdoch mailing list Received on Fri 09 Jul 2010 - 19:55:12 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 09 Jul 2010 - 22:50:13 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive