I'm trying to run this code, and when I do, I get a screen full of unavailable
, non-zero exit
and yet when I google it finds them but Rstudio refuses to install them yet saying it requires them.
SOURCE CODE Canonical Correlation Analysis | R Data Analysis Examples
Also many times I go to click the checkbox next to the package name and Rstudio refuses to select them, there are no errors, no beeps or anything indicating why. For example it will not allow me to click the CCA
package that I know I need and it tells me I need but nope, will not select it even when I click the box
Right now I can get as far as line 42 where matcor
is but refuses to install.
ERROR: compilation failed for package ‘RcppEigen’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen’
Warning in install.packages("RSpectra", repos = c("https://cloud.r-project.org/"), :
installation of package ‘RcppEigen’ had non-zero exit status
ERROR: dependency ‘RcppEigen’ is not available for package ‘RSpectra’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RSpectra’
Warning in install.packages("RSpectra", repos = c("https://cloud.r-project.org/"), :
installation of package ‘RSpectra’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/v0/7gtj3bhx74z6w7kx78fhqlmm0000gn/T/RtmpOT8r6m/downloaded_packages’
Error in matcor(psych, acad) (DA410_Project5.rmd#37): could not find function "matcor"
Show stack trace
Error in matcor(psych, acad) (DA410_Project5.rmd#40): could not find function "matcor"
Show stack trace
Error in install.packages(fda) (DA410_Project5.rmd#16): object 'fda' not found
Show stack trace