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
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
Please see previous messages from today concerning this. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Fri, Apr 28, 2017 at 9:58 AM, Dimitri Liakhovitski <dimitri.liakhovitski at gmail.com> wrote:> 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 > > ______________________________________________ > 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.
Ah, if you have been following along the thread.. use the patched version. -- Sent from my phone. Please excuse my brevity. On April 28, 2017 9:06:21 AM PDT, 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