> Since 'gfortran' is no longer distributed as part of Apple's command > FORTRAN code in your package, but is unable to find it - likely > In other words, `make` is attempting to call `gfortran-4.8` to compile > make: gfortran-4.8: No such file or directory _really_ need to be compiling with `gfortran-4.8` specifically?) `~/.R/Makevars` or other package configuration variables. StackOverflow questions + responses here for ideas on how toĪs an aside - I am not sure why make is attempting to call Since it won't be installed into a directory that's 'visible' to R byĭefault, you'll need to tell R how to find it - you can check the This will install an up-to-date version of both 'gcc' and 'gfortran'. Install homebrew following the instructions here: The OS X package manager homebrew to install 'gcc' and hence Pieces are dumped into `/usr/local/` and R will by default be able toĪlternatively (if you're prepared to do a bit more work), you can use You'll want to unpack it in the root folder at `/` (or move it thereĪfter unpacking) the directory structure is such that the necessary (more specifically, in the `libs` directory at Urbanek hosts a version of 'gfortran' at Line tools, you'll need to install it from another source - Simon Since 'gfortran' is no longer distributed as part of Apple's command In other words, `make` is attempting to call `gfortran-4.8` to compileįORTRAN code in your package, but is unable to find it - likely R-SIG-Mac mailing make: gfortran-4.8: No such file or directory Instituto de Ecología y Ciencias Ambientales (IECA) Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio Installation of package ‘/Users/joseca/Downloads/RMacoqui_1.0.tar.gz’ had ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/RMacoqui’ Make: gfortran-4.8: No such file or directoryĮRROR: compilation failed for package ‘RMacoqui’ Gfortran-4.8 -fPIC -g -O2 -c RMacoqui.f -o RMacoqui.o * installing *source* package ‘RMacoqui’. Lib="/Library/Frameworks/R.framework/Versions/3.2/Resources/library") > install.packages("~/Downloads/RMacoqui_1.0.tar.gz", repos = NULL, type = I have this problem when I try to install a package, I'm working with OSX
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |