From wdunlap at tibco.com  Mon May 10 16:42:50 2010
From: wdunlap at tibco.com (William Dunlap)
Date: Mon, 10 May 2010 07:42:50 -0700
Subject: [Rd] update.packages fails with directory not found
In-Reply-To: <8kufu51cu368dujtpdqgu5ckfliel4qa85@4ax.com>
References: <t81fu5t8gg8crt5nm3h3d3rg6bcg7lri7k@4ax.com><4BE7E112.2030005@gmail.com>
	<8kufu51cu368dujtpdqgu5ckfliel4qa85@4ax.com>
Message-ID: <77EB52C6DD32BA4D87471DCD70C8D70002E66CC3@NA-PA-VBE03.na.tibco.com>

Someone once suggested this error happened was
due to the Windows 'Indexing Service' (sp?) delaying
the commital of a request to rename a directory
(so a subsequent request to use the renamed directory
failed).

Was the indexing service running when this happened?

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com  

> -----Original Message-----
> From: r-devel-bounces at r-project.org 
> [mailto:r-devel-bounces at r-project.org] On Behalf Of Mike Prager
> Sent: Monday, May 10, 2010 5:28 AM
> To: r-devel at stat.math.ethz.ch
> Subject: Re: [Rd] update.packages fails with directory not found
> 
> On Mon, 10 May 2010 06:33:54 -0400, Duncan Murdoch
> <murdoch.duncan at gmail.com> wrote:
> 
> >Mike Prager wrote:
> >> Windows XP.  I have just updated to R 2.11.0 and then run
> >> update.packages. In the series of updates, a few will 
> succeed, then I
> >> get a failure like
> >>
> >>
> >> package 'mvtnorm' successfully unpacked and MD5 sums checked
> >> package 'party' successfully unpacked and MD5 sums checked
> >> package 'PBSmodelling' successfully unpacked and MD5 sums checked
> >> Error in normalizePath(path) : 
> >>   path[1]="c:\Program Files\R\Library/PBSmodelling": The 
> system cannot
> >> find the file specified
> >>   
> >
> >Is that a cut and paste of the error message?  Normally R 
> would double 
> >the backslashes when displaying a string, so it looks as 
> though you've 
> >somehow got a path containing the control characters \P, \R, 
> and \L.  
> >Did you set the lib.loc argument when you called update.packages?
> 
> Thank you!  Yes, it's cut and paste.  I did not set lib.loc in the
> call (made through the Rgui.exe menu system), but I have the library
> location defined in the environment:
> 
> R_LIBS=c:/Program Files/R/Library
> 
> I've been using this approach for several years, and it's worked
> without problem until now.
> 
> MHP
> 
> >>
> >> Indeed, the path is missing, though it was there when I issued the
> >> update.packages command.
> >>
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 



[Rd] update.packages fails with directory not found
William Dunlap