[R] Issue installing gamm4 for R v4.2.2

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Tue Nov 15 16:08:20 CET 2022


Hello Pierre,

Thank you for providing both sessionInfo() and the installation log,
it's very helpful!

В Mon, 14 Nov 2022 20:48:13 +0000
"Nedelec, Pierre via R-help" <r-help using r-project.org> пишет:

> /usr/local/opt/gcc/bin/gfortran -fno-optimize-sibling-calls  -fPIC
> -g -O2  -c altmov.f -o altmov.o
...
> clang (LLVM option parsing): Unknown command line argument
> '-x86-pad-for-align=false'.

It looks like your Fortran compiler installation might be not fully
functional. Can you compile and run a Fortran "Hello World"?

program hello
print *, 'Hello'
end program

The following command line should compile and run the program stored in
a file named "hello.f90":
/usr/local/opt/gcc/bin/gfortran -o hello hello.f90 && ./hello

I see that you're using some libraries installed from Homebrew. Is your
GNU Fortran installation from <https://mac.r-project.org/tools/> or
from somewhere else? How did you install R itself?

I don't have a Mac and may be unable to help you further, but your
answers should be useful to other more experienced people. If you don't
get an answer here soon, consider asking at r-sig-mac using r-project.org,
because this looks like a Mac-specific problem.

> 	[[alternative HTML version deleted]]

Your message reached us almost undamaged, but not all messages composed
in HTML are so lucky:
https://stat.ethz.ch/pipermail/r-help/2022-November/476282.html

Please post to R mailing lists in plain text.

-- 
Best regards,
Ivan



More information about the R-help mailing list