RStan script works interactively but not in command line

Resolved. The server was picking up gcc/10.1.0 while .R/Makevars specifies gcc/8.1.0.
Unloading gcc/10.1.0 resolved the issue.

1 Like