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.
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
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 email@example.com.
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.