I am new to R. I was trying to install a package on my Windows 7 PC but getting the following error. Please help.
Installing package into ‘C:/Users/user/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
also installing the dependency ‘mnormt’
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/mnormt_1.5-5.zip'
Content type 'application/zip' length 102302 bytes (99 KB)
downloaded 99 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/psych_18.104.22.168.zip'
Content type 'application/zip' length 5727743 bytes (5.5 MB)
downloaded 5.5 MB
Error in install.packages : cannot open file 'C:/Users/user/Documents/R/win-library/3.4/file17244fd07ed8/mnormt/CITATION': Permission denied