Could not install RStan on the sagemath cloud

asked 2014-11-17 15:21:24 -0500

updated 2014-11-18 03:55:56 -0500

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
edit retag flag offensive close merge delete

Comments

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?

slelievre gravatar imageslelievre ( 2014-11-18 03:56:54 -0500 )edit

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).

William Stein gravatar imageWilliam Stein ( 2014-11-19 03:26:19 -0500 )edit