Hello from Montreal!
I’m attempting to download AFNI onto my PC. Everything works except for R package installation.
With the following command: rPkgsInstall -pkgs ALL -site ‘http://cloud.r-project.org’
I get the output:
Installing packages into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning in install.packages(pkgs_miss, dep = NA, repos = site) :
‘lib = “/usr/local/lib/R/site-library”’ is not writable
Error in install.packages(pkgs_miss, dep = NA, repos = site) :
unable to install packages
Calls: getPkgs → install.packages
I’ve added write permissions to /usr/local/lib/R/site-library with: sudo chmod +w /usr/local/lib/R/site-library, though this did not solve the issue.
Is there any advice you can provide or any other information I can provide?