Installing rStan on HPC cluster

Hi @bgoodri,

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

** libs

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

‘/tmp/Rtmpdh99oS/downloaded_packages’

Warning message:

In install.packages(“rstan”) :

installation of package ‘rstan’ had non-zero exit status

library(“rstan”)

Error in library(“rstan”) : there is no package called ‘rstan’

library(“rstan”)

Can you help debug and install?

Probably you just need

or similar.

Thanks for response. I installed it by using reference from installing rstan on centOS7