From murdoch.duncan at gmail.com  Fri Jul  9 21:48:38 2010
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Fri, 09 Jul 2010 15:48:38 -0400
Subject: [Rd] Telling Windows how to find DLL's from R?
In-Reply-To: <AANLkTinfuTBV0iS8tK5vDoAQy4c2xWzLeGFA2OE5cLLH@mail.gmail.com>
References: <AANLkTinfuTBV0iS8tK5vDoAQy4c2xWzLeGFA2OE5cLLH@mail.gmail.com>
Message-ID: <4C377D16.1070702@gmail.com>

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



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