all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#49314: Stan package broken
@ 2021-07-01 11:06 Kyle Andrews
  2021-07-23  5:25 ` Sarah Morgensen
  2022-07-12 13:14 ` Maxim Cournoyer
  0 siblings, 2 replies; 3+ messages in thread
From: Kyle Andrews @ 2021-07-01 11:06 UTC (permalink / raw)
  To: 49314


Hello,

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

#+BEGIN_SRC R
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)
#+END_SRC

Running that code I get the error:

#+BEGIN_EXAMPLE
Error in dyn.load(libLFile) : 
  unable to load shared object '/tmp/Rtmp1AXXXr/file1ffd36a95fa3.so':
  /gnu/store/741057r2x06zwg6zcmqmdyv51spm6n9i-gfortran-7.5.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/Rtmp1AXXXr/file1ffd36a95fa3.so)
Error in sink(type = "output") : invalid connection
#+END_EXAMPLE

I setup my environment with:

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-12 13:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-01 11:06 bug#49314: Stan package broken Kyle Andrews
2021-07-23  5:25 ` Sarah Morgensen
2022-07-12 13:14 ` Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.