NLME package compilation error

Hey Guys, I'm installing packages as part of a bigger project. My Mac is having trouble compiling the nlme pack.

installing the source package ‘nlme’

versuche URL 'https://cran.stat.unipd.it/src/contrib/nlme_3.1-148.tar.gz'

Content type 'application/octet-stream' length 792813 bytes (774 KB)

==================================================

downloaded 774 KB

  • installing source package ‘nlme’ ...

** Paket ‘nlme’ erfolgreich entpackt und MD5 Summen überprüft

** using staged installation

** libs

gfortran -mmacosx-version-min=10.13 -fno-optimize-sibling-calls -fPIC -Wall -g -O2 -c chol.f -o chol.o

make: gfortran: No such file or directory

make: *** [chol.o] Error 1

ERROR: compilation failed for package ‘nlme’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/nlme’

For compiling packages from source, you need to install Xcode in your system (not in R) and the recommended development tools for macOS systems.
https://cran.r-project.org/bin/macosx/tools/

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.