[Rd] update.packages fails with directory not found

Duncan Murdoch murdoch.duncan at gmail.com
Mon May 10 12:33:54 CEST 2010


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?

Duncan Murdoch
>
> Indeed, the path is missing, though it was there when I issued the
> update.packages command.
>
> ???
>
> --
> Mike Prager, NC, USA
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list