[R] Update packages problem

David Winsemius dwinsemius at comcast.net
Wed Sep 7 03:47:08 CEST 2011


On Sep 6, 2011, at 5:10 PM, B Jessop wrote:

>
>
>
> R-help, I recently updated R from 2.13.0 to 2.13.1 (32-bit Windows  
> version) and now have a problem updating packages.  I am running  
> Windows 7 as operating system.  As the FAQ suggests, I uninstalled  
> 2.13.0 before installing 2.13.1.  On first opening R, I ran  
> "update.packages(checkBuilt=TRUE, ask=FALSE) ras also recommended

Perhaps not necessary for an update from 2.13.0 to 2.13.1

> and selected the NS Cran mirror.  On doing this the following error  
> messages occurs: update.packages(checkBuilt=TRUE, ask=FALSE)
> --- Please select a CRAN mirror for use in this session ---
> Warning in install.packages(update[instlib == l, "Package"], l,  
> contriburl = contriburl,  :
>  'lib = "C:/Program Files/R/R-2.13.1/library"' is not writable

Windows is protecting you. You need to convince it you do not need  
protection. Search for ways to increase your Win-fu.


> Error in install.packages(update[instlib == l, "Package"], l,  
> contriburl = contriburl,  :
>  unable to install packages   Any suggestions as to how to correct  
> this problem would be appreciated.  Thanks. Regards,Deelman
> 		 	   		

-- 

David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-help mailing list