Could not install RStan on the sagemath cloud

asked 2014-11-17 22:21:24 +0100

updated 2014-11-18 10:55:56 +0100

slelievre gravatar image

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 10:56:54 +0100 )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 10:26:19 +0100 )edit