[R-br] Problemas com rgl!

Ivan Bezerra Allaman ivanalaman em yahoo.com.br
Sábado Setembro 8 15:30:34 BRT 2012


Boa tarde senhores!

Ao rodar um gráfico em 3D com a rgl percebi que estava muito lento, travando. Então descobri que não estava instalado o driver de vídeo da minha máquina. Ao instalar e tentar usar a rgl obtive erros. Então removi o pacote que estava dentro do usr blablab e tentei reinstalar o pacote sem sucesso com o seguinte erro:

* installing *source* package ‘rgl’ ...
** package ‘rgl’ successfully unpacked and MD5 sums checked
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 gcc... (cached) gcc -std=gnu99
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -std=gnu99 accepts -g... (cached) yes
checking for gcc -std=gnu99 option to accept ISO C89... (cached) none needed
checking for libpng-config... yes
configure: using libpng-config
configure: using libpng dynamic linkage
checking for X... libraries , headers 
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for glEnd in -lGL... yes
checking for gluProject in -lGLU... yes
checking for freetype-config... yes
configure: using Freetype and FTGL
configure: creating ./config.status
config.status: creating src/Makevars

.
.
.

Error : .onLoad failed in loadNamespace() for 'rgl', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: impossível carregar objeto compartilhado '/usr/local/lib/R/site-library/rgl/libs/rgl.so':
  libGL.so.1: cannot open shared object file: No such file or directory
Erro: loading failed
Execução interrompida
ERROR: loading failed
* removing ‘/usr/local/lib/R/site-library/rgl’

The downloaded source packages are in
    ‘/tmp/RtmpS6wZHV/downloaded_packages’
Mensagens de aviso perdidas:
In install.packages("rgl") :
  installation of package ‘rgl’ had non-zero exit status


Já pesquisei em vários lugares, instalar várias coisas e o erro persiste. Grato se alguém puder ajudar. Utilizo o mint 13 maya ubuntu.

Abraços!

 

\begin{signatu
<<>>=
Prof. Dr. Ivan Bezerra Allaman
Universidade Estadual de Santa Cruz
Departamento de Ciências Exatas e Tecnológicas
Ilhéus/BA - Brasil
Fone: +55 73 3680-5596
E-mail: ivanalaman em yahoo.com.br/ivanalaman em gmail.com
@
\end{signature}
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.inf.ufpr.br/pipermail/r-br/attachments/20120908/f9d85c88/attachment.html>


Mais detalhes sobre a lista de discussão R-br