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

David Winsemius dwinsemius at comcast.net
Tue Jul 28 04:19:45 CEST 2015


On Jul 27, 2015, at 6:49 PM, José Carlos Guerrero Antúnez wrote:

> Hi,
> 
> I have this problem when I try to install a package, I'm working with OSX
> Yosemite 10.10.4.
> 
> Best regards,
> 
>> install.packages("~/Downloads/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
> make: gfortran-4.8: No such file or directory

I suspect that you have not obtained Xcode and installed Command line tools and perhaps not installed XQuartz (although that is not the cause of any error that I see here.)

Apple has pretty much always made XCode available for free. You need to register with Apple as a developer and then get the XCode version that is mated to your version of OSX.



-- 
David

> make: *** [RMacoqui.o] Error 1
> 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/Downloads/RMacoqui_1.0.tar.gz’ had
> non-zero exit status
> 
> 
> 
> 
> -- 
> ################################################################
> Dr. José Carlos Guerrero
> Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio
> (LDSGAT)
> Instituto de Ecología y Ciencias Ambientales (IECA)
> Facultad de Ciencias
> Universidad de la República
> Montevideo-URUGUAY
> ################################################################
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

David Winsemius
Alameda, CA, USA



More information about the R-SIG-Mac mailing list