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 -- ______________________ AbouEl-Makarim Aboueissa, PhD Department of Mathematics and Statistics University of Southern Maine [[alternative HTML version deleted]]
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 <abouelmakarim1962 at gmail.com> Date: Wed, Aug 16, 2017 at 11:58 AM Subject: Install package "diagram" To: r-help at 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 -- ______________________ AbouEl-Makarim Aboueissa, PhD Department of Mathematics and Statistics University of Southern Maine -- ______________________ AbouEl-Makarim Aboueissa, PhD Department of Mathematics and Statistics University of Southern Maine [[alternative HTML version deleted]]
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 <abouelmakarim1962 at 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 <abouelmakarim1962 at gmail.com> >Date: Wed, Aug 16, 2017 at 11:58 AM >Subject: Install package "diagram" >To: r-help at 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
On Wednesday, August 16, 2017, AbouEl-Makarim Aboueissa < abouelmakarim1962 at gmail.com> wrote:> 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?" > > You should say yes here. Let go into directory where you are allowed towrite. Other one fails because you are not the administrator. PJ> 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 > -- > ______________________ > AbouEl-Makarim Aboueissa, PhD > Department of Mathematics and Statistics > University of Southern Maine > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org <javascript:;> 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. >-- Paul E. Johnson http://pj.freefaculty.org Director, Center for Research Methods and Data Analysis http://crmda.ku.edu To write to me directly, please address me at pauljohn at ku.edu. [[alternative HTML version deleted]]