I'm trying to install packages but it doesn't work and I don't know why. I use the install.packages() function.
And then I get:
also installing the dependencies ‘isoband’, ‘rlang’
There are binary versions available but the source versions are later:
binary source needs_compilation
rlang 0.1.6 0.4.7 TRUE
ggplot2 2.2.1 3.3.2 FALSE
Do you want to install from sources the package which needs compilation?
and after that:
Package which is only available in source form, and may need compilation
of C/C++/Fortran: ‘isoband’
Do you want to attempt to install these from sources?
It doesn't matter if I select yes or no, it always does the same and in the end it says:
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
The downloaded source packages are in ‘/private/var/folders/87/5r3pmptj43l2kkcv9nvhqchr0000gn/T/RtmpkqxLoS/downloaded_packages’
When I then type
I get the warning that there is no ggplot2 installed.
I used ggplot2 as an example but it is the same with any package I try to install. I'm using an older MacBook.
Thanks a lot for any advice!