<div dir="ltr"><div>Olá André, </div><div>no seu e-mail só apareceram avisos durante a instalação do pacote,  e as suas mensagens foram as mesmas que apareceram na minha sessão.</div><div>A minha instalação foi <b>demorada</b>, você aguardou até o final? ela acusou algum erro, além daqueles warnings de sua mensagem?</div><div><br></div><div>Instalei com sucesso o pacote rstan. Coloquei as saídas (muito extensa) nesse gist:</div><div><br></div><a href="https://gist.github.com/lhmet/9b715830ea226545aefa85d845620a40">https://gist.github.com/lhmet/9b715830ea226545aefa85d845620a40</a><br><div><br></div><div>Testei o exemplo da vinheta e os reproduzi com sucesso.</div><div><br></div><div>Sugiro que verifique também se tens todos pré-requisitos reportados em</div><div> </div><div><a href="https://github.com/stan-dev/rstan/wiki/Installing-RStan-on-Mac-or-Linux">https://github.com/stan-dev/rstan/wiki/Installing-RStan-on-Mac-or-Linux</a><br></div><div><br></div><div>Att.</div><br>sessionInfo()<br>R version 3.4.3 (2017-11-30)<br>Platform: x86_64-pc-linux-gnu (64-bit)<br>Running under: Ubuntu 14.04.5 LTS<br><br>Matrix products: default<br>BLAS: /usr/lib/openblas-base/libblas.so.3<br>LAPACK: /usr/lib/lapack/liblapack.so.3.0<br><br>locale:<br> [1] LC_CTYPE=en_US.UTF-8          LC_NUMERIC=C                 <br> [3] LC_TIME=pt_BR.UTF-8           LC_COLLATE=en_US.UTF-8       <br> [5] LC_MONETARY=pt_BR.UTF-8       LC_MESSAGES=en_US.UTF-8      <br> [7] LC_PAPER=pt_BR.UTF-8          LC_NAME=pt_BR.UTF-8          <br> [9] LC_ADDRESS=pt_BR.UTF-8        LC_TELEPHONE=pt_BR.UTF-8     <br>[11] LC_MEASUREMENT=pt_BR.UTF-8    LC_IDENTIFICATION=pt_BR.UTF-8<br><br>attached base packages:<br>[1] stats     graphics  grDevices utils     datasets  methods   base     <br><br>other attached packages:<br> [1] rstan_2.17.3       StanHeaders_2.17.2 inmetr_0.2.6.9000  ggmap_2.7.900     <br> [5] forcats_0.2.0      stringr_1.3.0      dplyr_0.7.4        purrr_0.2.4       <br> [9] readr_1.2.0        tidyr_0.8.0        tibble_1.4.2       ggplot2_2.2.1.9000<br>[13] tidyverse_1.2.1   <br><br>loaded via a namespace (and not attached):<br>  [1] tagcloud_0.6        TH.data_1.0-8       colorspace_1.3-3    rjson_0.2.15       <br>  [5] gdalUtils_2.0.1.13  easypackages_0.1.0  modeltools_0.2-21 <div>. . . (omitido) ver gist.</div><div><br></div><div>Att.</div><div><br></div><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_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2398" dir="ltr">boa dia,</div><div dir="ltr" id="m_-5809323082923259711yui_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_-5809323082923259711yui_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_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2788"><br></div><div id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2797"><br></div><div id="m_-5809323082923259711yui_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_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2873">Copyright (C) 2017 The R Foundation for Statistical Computing<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2874">Platform: x86_64-pc-linux-gnu (64-bit)<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2875"><br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2876">R é um software livre e vem sem GARANTIA ALGUMA.<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2877">Você pode redistribuí-lo sob certas circunstâncias.<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2878">Digite 'license()' ou 'licence()' para detalhes de distribuição.<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2879"><br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2880">R é um projeto colaborativo com muitos contribuidores.<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2881">Digite 'contributors()' para obter mais informações e<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2882">'citation()' para saber como citar o R ou pacotes do R em publicações.<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2883"><br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2884">Digite 'demo()' para demonstrações, 'help()' para o sistema on-line de ajuda,<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2885">ou 'help.start()' para abrir o sistema de ajuda em HTML no seu navegador.<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2886">Digite 'q()' para sair do R.<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2887"><br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2888">[Workspace loaded from ~/.RData]<br></div><div id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2798"><br></div><div id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2926" dir="ltr">> install.packages("rstan")<br id="m_-5809323082923259711yui_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_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2950">(as ‘lib’ is unspecified)<br id="m_-5809323082923259711yui_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_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2952">Content type 'application/x-gzip' length 747202 bytes (729 KB)<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2953">==============================<wbr>====================<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2954">downloaded 729 KB<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2955"><br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2956">* installing *source* package ‘rstan’ ...<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2957">** package ‘rstan’ successfully unpacked and MD5 sums checked<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2958">** libs<br id="m_-5809323082923259711yui_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_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2960"><br></div><div dir="ltr" id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2988">.</div><div dir="ltr" id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2997">.</div><div dir="ltr" id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2998">.</div><div dir="ltr">.</div><div dir="ltr" id="m_-5809323082923259711yui_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_-5809323082923259711yui_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_-5809323082923259711yui_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_-5809323082923259711yui_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_-5809323082923259711yui_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_-5809323082923259711yui_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_-5809323082923259711yui_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_-5809323082923259711yui_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_-5809323082923259711yui_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_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3067">                 from lang__grammars__bare_type_<wbr>grammar_inst.cpp:18:<br id="m_-5809323082923259711yui_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_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3069"> # define BOOST_PHOENIX_NO_VARIADIC_<wbr>EXPRESSION<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3070"> ^<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3071"><div id="m_-5809323082923259711yui_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_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3081"><br></div><div id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3080"><b id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3110">Não passa deste ponto ! </b><br></div><div id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3112"><br></div><div id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3113"><br></div><div dir="ltr" id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3030"><br></div><div dir="ltr" id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3029"><br></div><div dir="ltr" id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_3094"># Em allguns momentos da este aviso. <br></div><div dir="ltr" id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2632"><b id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2799">installed.packages("rstan")</b><br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2671">Package LibPath Version Priority Depends Imports LinkingTo Suggests Enhances License<br id="m_-5809323082923259711yui_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_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2583"><br></div><div dir="ltr" id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2552"><br></div><div dir="ltr" id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2694"># Aqui estão dependências complicadas! <br></div><div dir="ltr" id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2554">installed.packages("rstan")<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2509">install.packages("shinystan")<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2510">installed.packages("brms")<br id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2511"><span></span></div><div id="m_-5809323082923259711yui_3_16_0_ym19_1_1521024180647_2615">Grato! <br></div><div class="m_-5809323082923259711signature" id="m_-5809323082923259711yui_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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font size="2" style="font-family:arial">###############################################################</font><br><span style="font-family:arial;font-size:small">##  </span><span style="font-size:11px;text-align:center;background-color:rgb(239,239,239);color:rgb(150,150,150);font-family:Verdana,Arial,Helvetica,sans-serif;line-height:13px">Jônatan Dupont Tatsch</span></div><div><span style="font-family:arial;font-size:small">##  </span><span style="color:rgb(150,150,150);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10.909090995788574px;line-height:12.997159004211426px;text-align:center;background-color:rgb(239,239,239)">Professor do Departamento de Física</span></div><div><span style="font-size:small;font-family:arial">##  </span><span style="color:rgb(150,150,150);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10.909090995788574px;line-height:12.997159004211426px;text-align:center;background-color:rgb(239,239,239)">Centro de Ciências Exatas e Naturais (CCNE)</span><br></div><div><span style="font-size:small;font-family:arial">##  </span><span style="color:rgb(150,150,150);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10.909090995788574px;line-height:12.997159004211426px;text-align:center;background-color:rgb(239,239,239)">Universidade Federal de Santa Maria - UFSM</span></div><div><span style="font-family:arial;font-size:small">##  </span><span style="font-size:11px;text-align:center;background-color:rgb(239,239,239);color:rgb(150,150,150);font-family:Verdana,Arial,Helvetica,sans-serif;line-height:13px">Faixa de Camobi, Prédio 13 - Campus UFSM - </span><span style="font-size:11px;text-align:center;background-color:rgb(239,239,239);color:rgb(150,150,150);font-family:Verdana,Arial,Helvetica,sans-serif;line-height:13px">Santa Maria, RS, Brasil - 97105-900</span><br></div><div style="font-family:arial;font-size:small">##  <span style="font-size:11px;text-align:center;background-color:rgb(239,239,239);color:rgb(150,150,150);font-family:Verdana,Arial,Helvetica,sans-serif;line-height:13px">Telefone: +55(55)33012083</span><br></div><div style="font-family:arial;font-size:small">##  <span style="font-size:11px;text-align:center;background-color:rgb(239,239,239);color:rgb(150,150,150);font-family:Verdana,Arial,Helvetica,sans-serif;line-height:13px"><a href="http://www.ufsm.br/meteorologia" target="_blank">www.ufsm.br/meteorologia</a></span></div><div style="font-family:arial;font-size:small">###############################################################</div></div></div></div></div></div></div>
</div>