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

2010-07-09 Thread Dominick Samperi
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

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

2010-07-09 Thread Duncan Murdoch
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 Wind

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

2010-07-09 Thread Martin Morgan
On 07/09/2010 11:38 AM, 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 pat

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

2010-07-09 Thread Dominick Samperi
On Fri, Jul 9, 2010 at 3:48 PM, Duncan Murdoch wrote: > 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 no

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

2010-07-09 Thread Dominick Samperi
Thanks Duncan, Martin: Please ignore my remarks about "top-level Windows context". I made a mistake. After correcting my mistake Duncan's suggestion worked, and the solution is very similar to what the DLLpath argument of dyn.load() does: Sys.setenv() can be used to edit PATH so that Windows finds

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

2010-07-13 Thread Thomas Baier
Dominick, Dominick Samperi wrote: > On Fri, Jul 9, 2010 at 3:48 PM, Duncan Murdoch > wrote: > >> 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