[R-br] Instalar pacote rgl

Daniel C Bezerra danielcbezerra em gmail.com
Segunda Junho 23 12:57:38 BRT 2014


Ou no terminal use:

sudo apt-get build-dep r-cran-rgl

Depois instale o rgl dentro do R
install.packages("rgl",dep=T)


On Mon, Jun 23, 2014 at 11:20 AM, Benilton Carvalho <
beniltoncarvalho em gmail.com> wrote:

> sudo apt-get install r-cran-rgl
>
>
> 2014-06-23 11:09 GMT-03:00 Andre Oliveira <andreolsouza em yahoo.com.br>:
>
>> 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
>>
>>
>> install.packages("rgl")
>> Installing package into ‘/home/andre/R/i686-pc-linux-gnu-library/3.1’
>> (as ‘lib’ is unspecified)
>> tentando a URL '
>> http://brieger.esalq.usp.br/CRAN/src/contrib/rgl_0.93.996.tar.gz'
>> Content type 'application/x-gzip' length 1756512 bytes (1.7 Mb)
>> URL aberta
>> ==================================================
>> downloaded 1.7 Mb
>>
>> * 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 whether __attribute__((visibility())) is supported... yes
>> checking whether gcc -std=gnu99 accepts -fvisibility... yes
>> checking whether  accepts -fvisibility... no
>> checking for libpng-config... yes
>> configure: using libpng-config
>> configure: using libpng dynamic linkage
>> checking for X... no
>> configure: error: X11 not found but required, configure aborted.
>> ERROR: configuration failed for package ‘rgl’
>> * removing ‘/home/andre/R/i686-pc-linux-gnu-library/3.1/rgl’
>>
>> The downloaded source packages are in
>>     ‘/tmp/RtmpHgKsb1/downloaded_packages’
>> Mensagens de aviso perdidas:
>> In install.packages("rgl") :
>>   installation of package ‘rgl’ had non-zero exit status
>>
>>
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> andre em andre-Aspire-5920:~/Área de Trabalho$ ls
>> rgl_0.93.996.tar.gz
>> andre em andre-Aspire-5920:~/Área de Trabalho$ R CMD INSTALL
>> rgl_0.93.996.tar.gz
>>
>> * installing to library ‘/home/andre/R/i686-pc-linux-gnu-library/3.1’
>> * 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 whether __attribute__((visibility())) is supported... yes
>> checking whether gcc -std=gnu99 accepts -fvisibility... yes
>> checking whether  accepts -fvisibility... no
>> checking for libpng-config... yes
>> configure: using libpng-config
>> configure: using libpng dynamic linkage
>> checking for X... no
>> configure: error: X11 not found but required, configure aborted.
>> ERROR: configuration failed for package ‘rgl’
>> * removing ‘/home/andre/R/i686-pc-linux-gnu-library/3.1/rgl’
>>
>> Esta ali uma mensagem de erro comum nas duas tentativas X11. Suspeitei
>> que devo instalar algum pacote no linux para resolver. Alguém tem alguma
>> dica?
>> obrigado
>>
>>
>>
>>
>> André Oliveira Souza
>>
>> _______________________________________________
>> R-br mailing list
>> R-br em listas.c3sl.ufpr.br
>> https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
>> Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça
>> código mínimo reproduzível.
>>
>
>
>
> --
>
> [image: Benilton Carvalho on about.me]
>
> Benilton Carvalho
> about.me/benilton
>   <http://about.me/benilton>
>
> _______________________________________________
> R-br mailing list
> R-br em listas.c3sl.ufpr.br
> https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
> Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça
> código mínimo reproduzível.
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.inf.ufpr.br/pipermail/r-br/attachments/20140623/bbafa56e/attachment.html>


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