Updating the VGAM package on Yosemite
The usual install.packages()
routine for the VGAM package today pointed out that the numbers of the source and binary versions differed and the source was newer, so it offered to compile it. If it hppens to you and you accept, you must have a Fortran compiler present. Below is how I went about it:
- I got the latest stable GNU Fortran compiler (version 4.9 as of this writing) here and installed it according to the instructions.
- I set a symlink because VGAM wanted version 4.8:
sudo ln -s /usr/local/bin/gfortran /usr/local/bin/gfortran-4.8
. - I ran
install.packages("VGAM")
at the RStudio console.