[R-sig-Debian] Trying to install r-stan without using rocker
Jesse McMullen-Crummey
je@@e @end|ng |rom voxpop|@b@@com
Mon Jun 13 22:23:31 CEST 2022
Thanks Liz.
I had that toolchain running as an install_stan.R script. I ended up reverting to 20.04 and installing build-essential as well. One of those seems to have done the trick!
Thanks!
Jesse
> On Jun 13, 2022, at 4:01 PM, Elizabeth Tighe <tighe using brandeis.edu> wrote:
>
>
> I'm not an expert, but I do use rstan on Ubuntu.
>
> The install instructions here:
>
> https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started <https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started>
>
> include info on configuring the C++ Toolchain with a link for configuring on linux here:
>
> https://github.com/stan-dev/rstan/wiki/Configuring-C-Toolchain-for-Linux <https://github.com/stan-dev/rstan/wiki/Configuring-C-Toolchain-for-Linux>
>
> in case this helps ...
>
> Best,
> Liz Tighe
>
> On 6/13/2022 2:36 PM, Dirk Eddelbuettel wrote:
>> On 13 June 2022 at 14:25, Jesse McMullen-Crummey wrote:
>> | Hi All,
>> |
>> | I’ve followed Dirk’s advice and am now starting from:
>> |
>> | FROM eddelbuettel/r2u:22.04
>> | While installing rstan using
>> | RUN Rscript -e 'install.packages(c("rstan", "stringr", "gtools", "tidyr"))'
>>
>> (BTW I would actually use
>>
>> RUN install.r rstan stringr gtools tidyr
>>
>> which is more idiomatic _for me_ using littler, but equivalent <wink> )
>>
>> | I can now get my lambda function running,
>>
>> Nice!
>>
>> | but it throws an error when opening my Stan model, namely:
>> | "C++ compiler not found on system.”
>> |
>> | I would have thought that it would be part of this base image.
>>
>> Indeed. That r2u image has g++-11.
>>
>> So (r)stan may be configured differently / may have seen / expected a
>> different compiler? I would check its docs. You should be able to square
>> that.
>>
>> Dirk
>>
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian using r-project.org <mailto:R-SIG-Debian using r-project.org>
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian <https://stat.ethz.ch/mailman/listinfo/r-sig-debian>
[[alternative HTML version deleted]]
More information about the R-SIG-Debian
mailing list