I am trying to install rstan on an HPC cluster home directory via Mac terminal after establishing the connection.
I am getting the following error message.
- installing source package ‘rstan’ …
** package ‘rstan’ successfully unpacked and MD5 sums checked
** using staged installation
Error in .shlib_internal(args) :
C++14 standard requested but CXX14 is not defined
- removing ‘/vortexfs1/home/[user]/R/x86_64-pc-linux-gnu-library/3.6/rstan’
The downloaded source packages are in
In install.packages(“rstan”) :
installation of package ‘rstan’ had non-zero exit status
Error in library(“rstan”) : there is no package called ‘rstan’
Can you help debug and install?