[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49314: Stan package broken

From: Kyle Andrews
Subject: bug#49314: Stan package broken
Date: Thu, 01 Jul 2021 07:06:39 -0400
User-agent: mu4e 1.4.15; emacs 27.2


I tried to run a "Hello World" stan model using the r-rstan package.

stancode="data {
  int<lower=0> N;
  vector[N] x;
  vector[N] y;
parameters {
  real alpha;
  real beta;
  real<lower=0> sigma;
model {
  y ~ normal(alpha + beta * x, sigma);
stan_lm = stan(model_code = stancode)

Running that code I get the error:

Error in dyn.load(libLFile) : 
  unable to load shared object '/tmp/Rtmp1AXXXr/file1ffd36a95fa3.so':
 version `GLIBCXX_3.4.29' not found (required by 
Error in sink(type = "output") : invalid connection

I setup my environment with:

: guix environment --ad-hoc r-rstan r-rstanarm r

reply via email to

[Prev in Thread] Current Thread [Next in Thread]