[R-SIG-Mac] Problems to install a package

Berend Hasselman bhh at xs4all.nl
Tue Jul 28 22:11:58 CEST 2015

> On 28-07-2015, at 21:13, José Carlos Guerrero Antúnez <jcgantunez at gmail.com> wrote:
> Hi,
> First, thank you for your answers, and I have to admit that don't prepare
> to do a bit more work, because I'm a user that I have no programming
> skills, and therefore, I depend on people like you, to use these programs.
> According to the easier instruction, and I downloaded
> gfortran-4.8.2-darwin13.tar.bz2
> You'll want to unpack it in the root folder at `/` (or move it there after
> unpacking); the directory structure is such that the necessary
> pieces are dumped into `/usr/local/` and R will by default be able to discover
> everything needed.
> It will not let me move the item "usr" to the root folder “/"

See below.

> Now I have this error message,

It is not  an error message, it’s a warning. Harmless; at least it doesn’t harm me.

I am using gfortran 4.8 (from r.research.att.com) without any problems on OS X Yosemite 10.10.4.

Did you use sudo as in

sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2  -C /

which worked for me. Do not unpack it somewhere else and then try moving usr to / .
Use the command above.


>> install.packages("~/Desktop/RMacoqui_1.0.tar.gz", repos = NULL, type =
> "source",
> lib="/Library/Frameworks/R.framework/Versions/3.2/Resources/library")
> * installing *source* package ‘RMacoqui’ ...
> ** libs
> gfortran-4.8   -fPIC  -g -O2  -c RMacoqui.f -o RMacoqui.o
> gfortran-4.8: warning: couldn’t understand kern.osversion ‘14.4.0
> f951: internal compiler error: Illegal instruction: 4
> f951: internal compiler error: Abort trap: 6
> gfortran-4.8: internal compiler error: Abort trap: 6 (program f951)
> make: *** [RMacoqui.o] Abort trap: 6
> ERROR: compilation failed for package ‘RMacoqui’
> * removing
> ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/RMacoqui’
> Warning in install.packages :
>  installation of package ‘/Users/joseca_IMac/Desktop/RMacoqui_1.0.tar.gz’
> had non-zero exit status
> Many thanks again,

More information about the R-SIG-Mac mailing list