Could not install RStan on the sagemath cloud
How can I install RStan on SageMathCloud?
My attempt failed with the following error message.
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/projects/9e10930d-01e2-450f-9308-e2629582d1b7/R/x86_64-unknown-linux-gnu-library/3.1/r
stan/libs/rstan.so':
/projects/9e10930d-01e2-450f-9308-e2629582d1b7/R/x86_64-unknown-linux-gnu-library/3.1/rstan/libs/rstan.so: undefined
symbol: _ZN4stan5agrad18var_nochain_stack_E
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/projects/9e10930d-01e2-450f-9308-e2629582d1b7/R/x86_64-unknown-linux-gnu-library/3.1/rstan’
Warning message:
In install.packages("rstan_2.5.0.tar.gz") :
installation of package ‘rstan_2.5.0.tar.gz’ had non-zero exit status
What command did you run? Does this require accessing some resource online? Accessing resources online is mostly blocked from SageMathCloud, has it been unlocked for your project?
I'll get Rstan to work as soon as I have time (likely Wednesday night). It's getting linked all wrong for some reasons (no idea why yet).