<div dir="ltr"><div><div><div>Ou no terminal use:<br><br></div>sudo apt-get build-dep r-cran-rgl<br><br></div>Depois instale o rgl dentro do R<br></div>install.packages("rgl",dep=T)<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Jun 23, 2014 at 11:20 AM, Benilton Carvalho <span dir="ltr"><<a href="mailto:beniltoncarvalho@gmail.com" target="_blank">beniltoncarvalho@gmail.com</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">sudo apt-get install r-cran-rgl<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="">2014-06-23 11:09 GMT-03:00 Andre Oliveira <span dir="ltr"><<a href="mailto:andreolsouza@yahoo.com.br" target="_blank">andreolsouza@yahoo.com.br</a>></span>:<br>
</div><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:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:10pt">
<div><span>Pessoal é uma coisa simples, mas depois de esgotar minhas pesquisas resolvi postar na lista. Coloquei o Ubuntu 14.04 aqui e resolvi instalar o Rcmdr instalou, mas requer o pacote rgl que nunca consigo instalar o mesmo. Olha minhas tentativas <br>
</span></div><div><div class="h5"><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br><span></span></div>
<div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
<span><br></span></div><div><span style="font-weight:bold">install.packages("rgl")</span><br>Installing package into ‘/home/andre/R/i686-pc-linux-gnu-library/3.1’<br>(as ‘lib’ is unspecified)<br>tentando a URL '<a href="http://brieger.esalq.usp.br/CRAN/src/contrib/rgl_0.93.996.tar.gz" target="_blank">http://brieger.esalq.usp.br/CRAN/src/contrib/rgl_0.93.996.tar.gz</a>'<br>
Content type 'application/x-gzip' length 1756512 bytes (1.7 Mb)<br>URL aberta<br>==================================================<br>downloaded 1.7 Mb<br><br>* installing *source* package ‘rgl’ ...<br>** package ‘rgl’ successfully unpacked and MD5 sums checked<br>
checking for gcc... gcc -std=gnu99<br>checking whether the C compiler works... yes<br>checking for C compiler default output file
name... a.out<br>checking for suffix of executables... <br>checking whether we are cross compiling... no<br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc -std=gnu99 accepts -g... yes<br>
checking for gcc -std=gnu99 option to accept ISO C89... none needed<br>checking how to run the C preprocessor... gcc -std=gnu99 -E<br>checking for gcc... (cached) gcc -std=gnu99<br>checking whether we are using the GNU C compiler... (cached) yes<br>
checking whether gcc -std=gnu99 accepts -g... (cached) yes<br>checking for gcc -std=gnu99 option to accept ISO C89... (cached) none needed<br>checking whether __attribute__((visibility())) is supported... yes<br>checking
whether gcc -std=gnu99 accepts -fvisibility... yes<br>checking whether accepts -fvisibility... no<br>checking for libpng-config... yes<br>configure: using libpng-config<br>configure: using libpng dynamic linkage<br><span style="color:rgb(205,35,44)">checking for X... no<br>
configure: error: X11 not found but required, configure aborted.</span><br><span style="font-weight:bold">ERROR: configuration failed for package ‘rgl’</span><br>* removing ‘/home/andre/R/i686-pc-linux-gnu-library/3.1/rgl’<br>
<br>The downloaded source packages are in<br> ‘/tmp/RtmpHgKsb1/downloaded_packages’<br>Mensagens de aviso perdidas:<br>In install.packages("rgl") :<br>
installation of package ‘rgl’ had non-zero exit status<br><br></div><div>
</div><div>------------------------------------------------------------------------------------------------------------------------------------------------------------------</div><div>andre@andre-Aspire-5920:~/Área de Trabalho$ ls<br>
rgl_0.93.996.tar.gz<br><span style="font-weight:bold">andre@andre-Aspire-5920:~/Área de Trabalho$ R CMD INSTALL rgl_0.93.996.tar.gz</span><br><br>* installing to library ‘/home/andre/R/i686-pc-linux-gnu-library/3.1’<br>* installing *source* package ‘rgl’ ...<br>
** package ‘rgl’ successfully unpacked and MD5 sums checked<br>checking for gcc... gcc -std=gnu99<br>checking whether the C compiler works... yes<br>checking for C compiler default output file name... a.out<br>checking for suffix of
executables... <br>checking whether we are cross compiling... no<br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc -std=gnu99 accepts -g... yes<br>
checking for gcc -std=gnu99 option to accept ISO C89... none needed<br>checking how to run the C preprocessor... gcc -std=gnu99 -E<br>checking for gcc... (cached) gcc -std=gnu99<br>checking whether we are using the GNU C compiler... (cached) yes<br>
checking whether gcc -std=gnu99 accepts -g... (cached) yes<br>checking for gcc -std=gnu99 option to accept ISO C89... (cached) none needed<br>checking whether __attribute__((visibility())) is supported... yes<br>checking whether gcc -std=gnu99 accepts -fvisibility... yes<br>
checking whether accepts -fvisibility... no<br>checking for libpng-config... yes<br>configure: using libpng-config<br>configure: using libpng dynamic linkage<br><span style="color:rgb(205,35,44)">checking for X... no<br>
</span><span style="font-weight:bold"><span style="color:rgb(205,35,44)">configure: error: X11 not found but required, configure aborted.</span><br>ERROR: configuration failed for package ‘rgl’<br>* removing ‘/home/andre/R/i686-pc-linux-gnu-library/3.1/rgl’</span><br>
<br></div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">Esta ali uma mensagem de erro comum nas duas tentativas <span style="color:rgb(205,35,44)">X11</span>. Suspeitei que devo instalar algum pacote no linux para resolver. Alguém tem alguma dica? <br>
</div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">obrigado</div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
<br></div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br></div><div style="color:rgb(0,0,0);font-size:13.3333px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal">
<br></div><div>
<br>André Oliveira Souza</div></div></div></div></div><br><div class="">_______________________________________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br" target="_blank">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>
Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br>
<br clear="all"><br>-- <br><div dir="ltr">
<a href="http://about.me/benilton" style="margin:0px;padding:0px;border:0px;outline:0px;font-size:14px;font-family:proxima-nova-1,proxima-nova-2,Tahoma,Helvetica,Verdana,sans-serif;vertical-align:baseline;color:rgb(43,130,173);text-decoration:none;line-height:18.200000762939453px" target="_blank"><table style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;border-spacing:0px" border="0" cellpadding="0" cellspacing="0">
<tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<td colspan="3" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;height:30px"> </td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;line-height:1" align="left" valign="top"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<img src="http://d13pix9kaak6wt.cloudfront.net/signature/me-badge.png" alt="Benilton Carvalho on about.me" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block" height="48" width="48"></div>
</td><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:8px"> </td><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:middle;height:48px;line-height:0.9" align="left" valign="middle">
<div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:bold;font-style:inherit;font-size:18px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;line-height:1;color:rgb(51,51,51)">
Benilton Carvalho</div><div style="margin:2px 0px 0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:12px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline">
about.me/benilton</div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td colspan="3" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;height:20px">
</td></tr></tbody></table></a></div>
</font></span></div>
<br>_______________________________________________<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" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>
Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div><br></div>