Could not install RStan on the sagemath cloud

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

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

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
  /projects/9e10930d-01e2-450f-9308-e2629582d1b7/R/x86_64-unknown-linux-gnu-library/3.1/rstan/libs/ 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


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 +0200 )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 +0200 )edit