[R] update.packages() error R 3.4.0

Robert Baer rbaer at atsu.edu
Fri Apr 28 18:06:21 CEST 2017

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

More information about the R-help mailing list