<div dir="ltr"><div>Paulo, o link abaixo deve ajudar.</div><div><br></div><a href="http://stackoverflow.com/questions/11319698/how-to-install-r-packages-rnetcdf-and-ncdf-on-ubuntu">http://stackoverflow.com/questions/11319698/how-to-install-r-packages-rnetcdf-and-ncdf-on-ubuntu</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 11, 2016 at 6:00 PM, Paulo Henrique Pimenta 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> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-548999255518260258divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span style="font-size:12pt">Olá a todos,<br>
</span><br>
Estou tentando instalar o RNetCDF no R do qual uso, num ubunutu 12.04 no RStudio, porém não consigo instalar o pacote aparecendo o seguinte erro:<br>
<br>
#######<br>
<br>
</p>
<pre class="m_-548999255518260258GCWXI2KCJKB" id="m_-548999255518260258rstudio_console_output" style="font-family:"Ubuntu Mono";outline:none;border:none;word-break:break-all;margin-top:0px;margin-bottom:0px;line-height:16px;font-size:10.4pt!important;white-space:pre-wrap!important"><span class="m_-548999255518260258GCWXI2KCPKB m_-548999255518260258ace_keyword" style="color:blue;white-space:pre-wrap">> </span><span class="m_-548999255518260258GCWXI2KCPJB m_-548999255518260258ace_keyword" style="color:blue">install.packages("RNetCDF")
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">Installing package into ‘/home/notemaster/R/i686-pc-<wbr>linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">--2016-10-11 17:49:52-- <a href="https://cran.rstudio.com/src/contrib/RNetCDF_1.8-2.tar.gz" target="_blank">https://cran.rstudio.com/src/<wbr>contrib/RNetCDF_1.8-2.tar.gz</a>
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">Resolvendo <a href="http://cran.rstudio.com" target="_blank">cran.rstudio.com</a> (<a href="http://cran.rstudio.com" target="_blank">cran.rstudio.com</a>)... </span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">54.192.56.107
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">Conectando-se a <a href="http://cran.rstudio.com" target="_blank">cran.rstudio.com</a> (<a href="http://cran.rstudio.com" target="_blank">cran.rstudio.com</a>)|54.192.56.<wbr>107|:443... </span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">conectado.
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">A requisição HTTP foi enviada, aguardando resposta... </span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">200 OK
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">Tamanho: 95693 (93K) [application/x-gzip]
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">Salvando em: “/tmp/Rtmpbh1Jqr/downloaded_<wbr>packages/RNetCDF_1.8-2.tar.gz”
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">
0K ........</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">.. ......</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">.... ........</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">.. ..</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">........ ........</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">.. 53%</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)"> 68,7K 1s
50K ......</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">.... ...</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">....... .</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">........</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">. .......</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">... ... 100% 50,2K=1,6s
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">2016-10-11 17:49:54 (58,7 KB/s) - “/tmp/Rtmpbh1Jqr/downloaded_<wbr>packages/RNetCDF_1.8-2.tar.gz” salvo [95693/95693]
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">* installing *source* package ‘RNetCDF’ ...
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">** package ‘RNetCDF’ successfully unpacked and MD5 sums checked
</span>checking for nc-config... yes
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking netcdf linker flags... -L/usr/lib -lnetcdf
checking netcdf pre-processor and compiler flags... -I/usr/include -DgFortran
checking for library containing XML_StopParser... no
checking for library containing utFree... no
checking for library containing utScan... no
<span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">configure: error: "unable to use udunits2 or udunits"
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">ERROR: configuration failed for package ‘RNetCDF’
* removing ‘/home/notemaster/R/i686-pc-<wbr>linux-gnu-library/3.0/RNetCDF’
</span>Warning in install.packages :
installation of package ‘RNetCDF’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmpbh1Jqr/downloaded_<wbr>packages’
<span class="m_-548999255518260258GCWXI2KCPKB m_-548999255518260258ace_keyword" style="color:blue;white-space:pre-wrap">> </span><span class="m_-548999255518260258GCWXI2KCPJB m_-548999255518260258ace_keyword" style="color:blue">library(RNetCDF)
</span><span class="m_-548999255518260258GCWXI2KCDKB m_-548999255518260258ace_constant" style="color:rgb(197,6,11)">Erro em library(RNetCDF) : there is no package called ‘RNetCDF’</span></pre>
<br>
<p></p>
<p>####################</p>
<p><br>
</p>
<p><span style="font-size:12pt">Tentei usar o pacote netcdf, mas não consegui devido ao pacote ter sido descontinuado. Espero que alguém possa me ajudar, pois sou novo no uso de netcdf no R.<br>
</span><br>
Abraços a todos.</p>
<p><br>
</p>
<div id="m_-548999255518260258Signature">Paulo Henrique de A. S. Pimenta.
<div><br>
</div>
<div>Graduando em Meteorologia (Bacharelado) - IAG/USP.<br>
Fone: <a href="tel:%2B5511981318435" value="+5511981318435" target="_blank">+5511981318435</a>.</div>
</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>