GNU bug report logs -
#49314
Stan package broken
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#49314: Stan package broken
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 49314 <at> debbugs.gnu.org.
--
49314: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49314
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi,
Kyle Andrews <kyle.c.andrews <at> gmail.com> writes:
> 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
I've tried exercising some of the things shown at
https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started in 'guix
shell r-rstan r-rstanarm r-minimal' and it seems to work. I'm on Guix
commit 17892c5.
Closing.
Thanks for the report!
Maxim
[Message part 3 (message/rfc822, inline)]
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
This bug report was last modified 2 years and 314 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.