<div dir="ltr">Pelas mensagens dá a impressão que o pacote rstan requer bibliotecas não FOSS (não livres no sentido Free Software) e seu OS não está habilitando a instalação delas...<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-14 7:53 GMT-03:00 Andre Oliveira via R-br <span dir="ltr"><<a href="mailto:r-br@listas.c3sl.ufpr.br" target="_blank">r-br@listas.c3sl.ufpr.br</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:bookman old style,new york,times,serif;font-size:16px"><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2398" dir="ltr">boa dia,</div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2532">estou a procura de um pacote para estimar componentes de variâncias via Bayesiana. Já testes alguns outros recomendados por professores, mas,  me falaram da<b id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2889"> brms</b>. Acontece que são tantos erros que não consegui instalar no Ubuntu. A rstan é uma dependência que não instala por nada.  Alguém tem algumas sugestões? <br></div><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2788"><br></div><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2797"><br></div><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2840" dir="ltr"><b>R version 3.4.3 (2017-11-30) </b>-- "Kite-Eating Tree"<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2873">Copyright (C) 2017 The R Foundation for Statistical Computing<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2874">Platform: x86_64-pc-linux-gnu (64-bit)<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2875"><br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2876">R é um software livre e vem sem GARANTIA ALGUMA.<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2877">Você pode redistribuí-lo sob certas circunstâncias.<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2878">Digite 'license()' ou 'licence()' para detalhes de distribuição.<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2879"><br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2880">R é um projeto colaborativo com muitos contribuidores.<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2881">Digite 'contributors()' para obter mais informações e<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2882">'citation()' para saber como citar o R ou pacotes do R em publicações.<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2883"><br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2884">Digite 'demo()' para demonstrações, 'help()' para o sistema on-line de ajuda,<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2885">ou 'help.start()' para abrir o sistema de ajuda em HTML no seu navegador.<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2886">Digite 'q()' para sair do R.<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2887"><br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2888">[Workspace loaded from ~/.RData]<br></div><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2798"><br></div><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2926" dir="ltr">> install.packages("rstan")<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2949">Installing package into ‘/home/andre/R/x86_64-pc-<wbr>linux-gnu-library/3.4’<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2950">(as ‘lib’ is unspecified)<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2951">tentando a URL '<a href="https://cran-r.c3sl.ufpr.br/src/contrib/rstan_2.17.3.tar.gz" target="_blank">https://cran-r.c3sl.ufpr.br/<wbr>src/contrib/rstan_2.17.3.tar.<wbr>gz</a>'<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2952">Content type 'application/x-gzip' length 747202 bytes (729 KB)<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2953">==============================<wbr>====================<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2954">downloaded 729 KB<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2955"><br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2956">* installing *source* package ‘rstan’ ...<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2957">** package ‘rstan’ successfully unpacked and MD5 sums checked<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2958">** libs<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2959">g++  -I/usr/share/R/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_<wbr>in_BH" -I"`"/usr/lib/R/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DFUSION_MAX_VECTOR_SIZE=12 -DBOOST_PHOENIX_NO_VARIADIC_<wbr>EXPRESSION -I"/home/andre/R/x86_64-pc-<wbr>linux-gnu-library/3.4/Rcpp/<wbr>include" -I"/home/andre/R/x86_64-pc-<wbr>linux-gnu-library/3.4/<wbr>RcppEigen/include" -I"/home/andre/R/x86_64-pc-<wbr>linux-gnu-library/3.4/BH/<wbr>include" -I"/home/andre/R/x86_64-pc-<wbr>linux-gnu-library/3.4/<wbr>StanHeaders/include"    -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c chains.cpp -o chains.o</div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2960"><br></div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2988">.</div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2997">.</div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2998">.</div><div dir="ltr">.</div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3130">.</div>In file included from /home/andre/R/x86_64-pc-linux-<wbr>gnu-library/3.4/BH/include/<wbr>boost/spirit/include/phoenix_<wbr>limits.hpp:11:0,<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3059">                 from /home/andre/R/x86_64-pc-linux-<wbr>gnu-library/3.4/BH/include/<wbr>boost/spirit/home/support/<wbr>meta_compiler.hpp:16,<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3060">                 from /home/andre/R/x86_64-pc-linux-<wbr>gnu-library/3.4/BH/include/<wbr>boost/spirit/home/qi/meta_<wbr>compiler.hpp:14,<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3061">                 from /home/andre/R/x86_64-pc-linux-<wbr>gnu-library/3.4/BH/include/<wbr>boost/spirit/home/qi/action/<wbr>action.hpp:14,<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3062">                 from /home/andre/R/x86_64-pc-linux-<wbr>gnu-library/3.4/BH/include/<wbr>boost/spirit/home/qi/action.<wbr>hpp:14,<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3063">                 from /home/andre/R/x86_64-pc-linux-<wbr>gnu-library/3.4/BH/include/<wbr>boost/spirit/home/qi.hpp:14,<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3064">                 from /home/andre/R/x86_64-pc-linux-<wbr>gnu-library/3.4/BH/include/<wbr>boost/spirit/include/qi.hpp:<wbr>16,<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3065">                 from /home/andre/R/x86_64-pc-linux-<wbr>gnu-library/3.4/StanHeaders/<wbr>include/src/stan/lang/<wbr>grammars/bare_type_grammar_<wbr>def.hpp:4,<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3066">                 from /home/andre/R/x86_64-pc-linux-<wbr>gnu-library/3.4/StanHeaders/<wbr>include/src/stan/lang/<wbr>grammars/bare_type_grammar_<wbr>inst.cpp:1,<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3067">                 from lang__grammars__bare_type_<wbr>grammar_inst.cpp:18:<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3068">/home/andre/R/x86_64-pc-linux-<wbr>gnu-library/3.4/BH/include/<wbr>boost/phoenix/core/limits.hpp:<wbr>44:0: warning: "BOOST_PHOENIX_NO_VARIADIC_<wbr>EXPRESSION" redefined [enabled by default]<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3069"> # define BOOST_PHOENIX_NO_VARIADIC_<wbr>EXPRESSION<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3070"> ^<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3071"><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3082"><command-line>:0:0: note: this is the location of the previous definition <br></div><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3081"><br></div><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3080"><b id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3110">Não passa deste ponto ! </b><br></div><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3112"><br></div><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3113"><br></div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3030"><br></div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3029"><br></div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_3094"># Em allguns momentos da este aviso. <br></div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2632"><b id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2799">installed.packages("rstan")</b><br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2671">Package LibPath Version Priority Depends Imports LinkingTo Suggests Enhances License<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2672">License_is_FOSS License_restricts_use OS_type Archs MD5sum NeedsCompilation Built<br></div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2583"><br></div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2552"><br></div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2694"># Aqui estão dependências complicadas! <br></div><div dir="ltr" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2554">installed.packages("rstan")<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2509">install.packages("shinystan")<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2510">installed.packages("brms")<br id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2511"><span></span></div><div id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2615">Grato! <br></div><div class="m_-4884831827331800731signature" id="m_-4884831827331800731yui_3_16_0_ym19_1_1521024180647_2616"><br></div></div></div><br>______________________________<wbr>_________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="noreferrer" target="_blank">https://listas.inf.ufpr.br/<wbr>cgi-bin/mailman/listinfo/r-br</a><br>
Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="noreferrer" target="_blank">http://www.leg.ufpr.br/r-br-<wbr>guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div><br></div>