Unable to Install packages in R
1
0
Entering edit mode
Fiona • 0
@6b1a06c4
Last seen 3.3 years ago
Canada
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.5k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day 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.

ADD COMMENT

Login before adding your answer.

Traffic: 468 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

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

Powered by the version 2.3.6