Unable to Install packages in R
Entering edit mode
Fiona • 0
Last seen 2.8 years ago
R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> install.packages("Rcmdr")
Warning in install.packages :
  'lib = "C:/Program Files/R/R-4.1.1/library"' is not writable
Error in install.packages : unable to install packages
Making 'packages.html' ... done
rstudio • 2.3k views
Entering edit mode
Last seen 7 days ago
United States

This support site is intended to help people with Bioconductor packages, and Rcmdr is a CRAN package. In future you should ask about CRAN packages on r-help@r-project.org.

That said, the default library directory on Windows is not writeable by a regular user, and when you try to install packages you should get a message asking if you would like to use a personal library instead. You should say 'Yes' to that, otherwise you won't be able to install any packages.


Login before adding your answer.

Traffic: 768 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6