Erro ao carregar Rcmdr

Pessoas, estou aqui com ubuntu 12.04. Instalei o Rcmdr e os pacotes dependentes, mas o rgl não instala de jeito nenhum e ele é requerido pela Rcmdr. ======================================================================================================== install.packages("rgl", dep=T) Installing package(s) into ‘/home/andre/R/i686-pc-linux-gnu-library/2.15’ (as ‘lib’ is unspecified) --- Please select a CRAN mirror for use in this session --- Carregando a interface Tcl/Tk ... pronto tentando a URL 'http://www.vps.fmvz.usp.br/CRAN/src/contrib/rgl_0.92.894.tar.gz' Content type 'application/x-gzip' length 1713982 bytes (1.6 Mb) URL aberta ================================================== downloaded 1.6 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 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/2.15/rgl’ The downloaded source packages are in ‘/tmp/RtmpfivhTH/downloaded_packages’ Mensagens de aviso perdidas: In install.packages("rgl", dep = T) : installation of package ‘rgl’ had non-zero exit status ========================================================= Obrigado André Oliveira Souza

Tente fazer isso no terminal do Linux antes de instalar o pacote sudo apt-get build-dep r-cran-rgl Suspeito que vai resolver. À disposição. Walmes. ========================================================================== Walmes Marques Zeviani LEG (Laboratório de Estatística e Geoinformação, 25.450418 S, 49.231759 W) Departamento de Estatística - Universidade Federal do Paraná fone: (+55) 41 3361 3573 VoIP: (3361 3600) 1053 1173 e-mail: walmes@ufpr.br skype: walmeszeviani twitter: @walmeszeviani homepage: http://www.leg.ufpr.br/~walmes linux user number: 531218 ==========================================================================

Rode no terminal: sudo apt-get build-dep r-cran-rgl Abs, D On Thu, Oct 25, 2012 at 8:19 PM, Andre Oliveira <andreolsouza@yahoo.com.br>wrote:
Pessoas, estou aqui com ubuntu 12.04. Instalei o Rcmdr e os pacotes dependentes, mas o rgl não instala de jeito nenhum e ele é requerido pela Rcmdr.
======================================================================================================== install.packages("rgl", dep=T) Installing package(s) into ‘/home/andre/R/i686-pc-linux-gnu-library/2.15’ (as ‘lib’ is unspecified) --- Please select a CRAN mirror for use in this session --- Carregando a interface Tcl/Tk ... pronto tentando a URL ' http://www.vps.fmvz.usp.br/CRAN/src/contrib/rgl_0.92.894.tar.gz' Content type 'application/x-gzip' length 1713982 bytes (1.6 Mb) URL aberta ================================================== downloaded 1.6 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 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/2.15/rgl’
The downloaded source packages are in ‘/tmp/RtmpfivhTH/downloaded_packages’ Mensagens de aviso perdidas: In install.packages("rgl", dep = T) : installation of package ‘rgl’ had non-zero exit status
=========================================================
Obrigado
André Oliveira Souza
_______________________________________________ R-br mailing list R-br@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.
participantes (3)
-
Andre Oliveira
-
Daniel C Bezerra
-
Walmes Zeviani