Closed CristinaRoman1 closed 3 years ago
Hallo, thanks for your question.
I also have MacOS - these problems often occur after updating to a newer MacOS version. Reason is, that you have to re-install some things.
Try to install the Xcode toolkit on MacOS Terminal: `xcode-select --install
If this does not work try to install it manually from there: https://developer.apple.com/download/more/ ` Afterwards try again to install the ridge package as you did before. Would be nice, if you could give me some feedback, if this solved the problem :)
Hi Steffen,
Thank you for your response. The Xcode install worked via the terminal, but unfortunately, Ridge still will not install properly. It seems like the installation got a bit farther this time?
install.packages("ridge") Installing package into ‘/Users/cristinaroman/Library/R/4.0/library’ (as ‘lib’ is unspecified) Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘ridge’ Do you want to attempt to install these from sources? (Yes/no/cancel) Yes installing the source package ‘ridge’
downloaded 121 KB
The downloaded source packages are in ‘/private/var/folders/p4/1n_2sb096sg87thjdrz9whwm0000gn/T/RtmpdLuvjm/downloaded_packages’ Warning message: In install.packages("ridge") : installation of package ‘ridge’ had non-zero exit status
Ok, we fixed one problem - now we have to fix the rest. From the message it seems lib gsl is also missing.
So on the terminal install:
brew install gsl
(if you do not have homebrew installed yet: https://brew.sh/ )
Hope this is solved 👍
Hello,
I am having significant issues installing the ridge toolbox (see below error). I have used it before, so not sure what is going on. I have installed GSL. For reference, I am working on a MacOS (Catalina, 10.15.4).
Thank you, Cristina
trying URL 'https://cloud.r-project.org/src/contrib/ridge_2.5.tar.gz' Content type 'application/x-gzip' length 124719 bytes (121 KB)
downloaded 121 KB
The downloaded source packages are in ‘/private/var/folders/p4/1n_2sb096sg87thjdrz9whwm0000gn/T/RtmpTeLO5O/downloaded_packages’ Warning message: In install.packages("ridge") : installation of package ‘ridge’ had non-zero exit status