[R] update.packages() error R 3.4.0

Dimitri Liakhovitski dimitri.liakhovitski at gmail.com
Fri Apr 28 18:58:21 CEST 2017


I am having the same problem - just installed R 3.4.0 on my Windows
laptop. Same thing with packages - exactly the same error.

On Fri, Apr 28, 2017 at 12:06 PM, Robert Baer <rbaer at atsu.edu> wrote:
> Is there an easy work-around for the update.packages error I'm getting on
> Windows 10 with R 3.4.0?
>
>> update.packages()
> --- Please select a CRAN mirror for use in this session ---
> foreign :
>  Version 0.8-67 installed in C:/Program Files/R/R-3.4.0/library
>  Version 0.8-68 available at https://mirror.las.iastate.edu/CRAN
> Update (y/N/c)?  y
> Warning in install.packages(update[instlib == l, "Package"], l, repos =
> repos,  :
>   'lib = "C:/Program Files/R/R-3.4.0/library"' is not writable
> Error in if (file.exists(dest) && file.mtime(dest) > file.mtime(lib) &&  :
>   missing value where TRUE/FALSE needed
>
> --
>
>
> --
> Robert W. Baer, Ph.D.
> Professor of Physiology
> Kirksville College of Osteopathic Medicine
> A T Still University of Health Sciences
> 800 W. Jefferson St
> Kirksville, MO 63501
> 660-626-2321 Department
> 660-626-2965 FAX
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 
Dimitri Liakhovitski



More information about the R-help mailing list