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

Duncan Murdoch murdoch.duncan at gmail.com
Fri Jul 9 21:48:38 CEST 2010


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



More information about the R-devel mailing list