Indeed, that solution is usually the most straightforward one. For better or worse, this question is really about your operating system and its use of file access permissions, which is completely outside the scope of this mailing list and is for most people a hairy mess of complexity. For similar reasons I recommend vigorously AVOIDING the use of the Windows "Run As Administrator" option when installing the R software. -- Sent from my phone. Please excuse my brevity.
On August 16, 2017 9:01:37 AM PDT, AbouEl-Makarim Aboueissa <abouelmakarim1...@gmail.com> wrote: >Dear All: > >When I selected "yes" to the question Question: "would you like to use >a >personal library instead?", it works > >thanks any way >abou > >---------- Forwarded message ---------- >From: AbouEl-Makarim Aboueissa <abouelmakarim1...@gmail.com> >Date: Wed, Aug 16, 2017 at 11:58 AM >Subject: Install package "diagram" >To: r-help@r-project.org > > >Dear All: > >I am trying to install the package "diagram". It is in the list. But >when I >selected the package to install it, it says: > >Question: "would you like to use a personal library instead?" > >I selected No. > >Then it says > >> utils:::menuInstallPkgs() >Warning in install.packages(NULL, .libPaths()[1L], dependencies = NA, >type >= type) : > 'lib = "C:/Program Files/R/R-3.4.1/library"' is not writable >Error in install.packages(NULL, .libPaths()[1L], dependencies = NA, >type = >type) : > unable to install packages >> > > >Any help will be appreciated. > > >with many thanks >abou ______________________________________________ R-help@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.