[R] How to reinstall rpart?

Thomas Lumley tlumley at u.washington.edu
Fri Aug 15 22:21:16 CEST 2003

On Fri, 15 Aug 2003, David Parkhurst wrote:
> Error in unpackPkg(foundpkgs[okp, 2], pkgnames[okp], lib, installWithVers) :
>         Can not remove prior installation of package

I have just experienced this when a previous instance of R did not shut
down properly(*). The folder was locked and couldn't be deleted or
renamed.  My solution was to restart Windows.


(*) This happens reproducibly when I use ESS with Xemacs on WinXP and open
a graphics window.

More information about the R-help mailing list