Erro de dependências do RCMDR dentro do R (software)

1. Erro de dependências do RCMDR dentro do R (software)

Guilherme Teixeira
Tosh_g7

(usa Ubuntu)

Enviado em 02/04/2018 - 15:48h

Ao tentar instalar o RCMDR dentro do R obtive grandes problemas, pois ao tentar instalar o RCMDR as dependências me impediram. Tentei instalar algumas dependências necessárias mas pede-se que instale outras dependências. Esse conflito de dependências gera um erro que impede a instalação de todos os pacotes do R e que de forma alguma consegui resolver.
Abaixo esta a msg do erro:

* installing *source* package ‘curl’ ...
** package ‘curl’ successfully unpacked and MD5 sums checked
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lcurl
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libcurl was not found. Try installing:
* deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
* rpm: libcurl-devel (Fedora, CentOS, RHEL)
* csw: libcurl_dev (Solaris)
If libcurl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
ERROR: configuration failed for package ‘curl’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/curl’
* installing *source* package ‘lme4’ ...
** package ‘lme4’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG -I"/usr/local/lib/R/site-library/Rcpp/include" -I"/usr/local/lib/R/site-library/RcppEigen/include" -DNDEBUG -DEIGEN_DONT_VECTORIZE -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c external.cpp -o external.o
In file included from external.cpp:8:0:
predModule.h:12:23: fatal error: RcppEigen.h: Arquivo ou diretório não encontrado
compilation terminated.
/usr/lib/R/etc/Makeconf:168: recipe for target 'external.o' failed
make: *** [external.o] Error 1
ERROR: compilation failed for package ‘lme4’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/lme4’
* 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/penumbra/R/x86_64-pc-linux-gnu-library/3.4/rgl’
ERROR: dependency ‘lme4’ is not available for package ‘arm’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/arm’
ERROR: dependency ‘lme4’ is not available for package ‘pbkrtest’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/pbkrtest’
ERROR: dependency ‘curl’ is not available for package ‘rio’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/rio’
ERROR: dependency ‘lme4’ is not available for package ‘effects’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/effects’
ERROR: dependency ‘arm’ is not available for package ‘mi’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/mi’
ERROR: dependencies ‘pbkrtest’, ‘rio’, ‘lme4’ are not available for package ‘car’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/car’
ERROR: dependency ‘car’ is not available for package ‘RcmdrMisc’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/RcmdrMisc’
ERROR: dependency ‘mi’ is not available for package ‘sem’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/sem’
ERROR: dependencies ‘RcmdrMisc’, ‘car’, ‘effects’ are not available for package ‘Rcmdr’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/Rcmdr’

The downloaded source packages are in
‘/tmp/RtmpZ8xbEv/downloaded_packages’
There were 12 warnings (use warnings() to see them)



O comando utilizado foi >install.packages ("Rcmdr", dependencies=TRUE)
Alguém sabe como resolve-lo?


  


2. Re: Erro de dependências do RCMDR dentro do R (software)

Guilherme Teixeira
Tosh_g7

(usa Ubuntu)

Enviado em 12/04/2018 - 10:47h

Tosh_g7 escreveu:

Ao tentar instalar o RCMDR dentro do R obtive grandes problemas, pois ao tentar instalar o RCMDR as dependências me impediram. Tentei instalar algumas dependências necessárias mas pede-se que instale outras dependências. Esse conflito de dependências gera um erro que impede a instalação de todos os pacotes do R e que de forma alguma consegui resolver.
Abaixo esta a msg do erro:.

* installing *source* package ‘curl’ ...
** package ‘curl’ successfully unpacked and MD5 sums checked
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lcurl
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libcurl was not found. Try installing:
* deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
* rpm: libcurl-devel (Fedora, CentOS, RHEL)
* csw: libcurl_dev (Solaris)
If libcurl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
ERROR: configuration failed for package ‘curl’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/curl’
* installing *source* package ‘lme4’ ...
** package ‘lme4’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG -I"/usr/local/lib/R/site-library/Rcpp/include" -I"/usr/local/lib/R/site-library/RcppEigen/include" -DNDEBUG -DEIGEN_DONT_VECTORIZE -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c external.cpp -o external.o
In file included from external.cpp:8:0:
predModule.h:12:23: fatal error: RcppEigen.h: Arquivo ou diretório não encontrado
compilation terminated.
/usr/lib/R/etc/Makeconf:168: recipe for target 'external.o' failed
make: *** [external.o] Error 1
ERROR: compilation failed for package ‘lme4’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/lme4’
* 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/penumbra/R/x86_64-pc-linux-gnu-library/3.4/rgl’
ERROR: dependency ‘lme4’ is not available for package ‘arm’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/arm’
ERROR: dependency ‘lme4’ is not available for package ‘pbkrtest’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/pbkrtest’
ERROR: dependency ‘curl’ is not available for package ‘rio’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/rio’
ERROR: dependency ‘lme4’ is not available for package ‘effects’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/effects’
ERROR: dependency ‘arm’ is not available for package ‘mi’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/mi’
ERROR: dependencies ‘pbkrtest’, ‘rio’, ‘lme4’ are not available for package ‘car’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/car’
ERROR: dependency ‘car’ is not available for package ‘RcmdrMisc’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/RcmdrMisc’
ERROR: dependency ‘mi’ is not available for package ‘sem’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/sem’
ERROR: dependencies ‘RcmdrMisc’, ‘car’, ‘effects’ are not available for package ‘Rcmdr’
* removing ‘/home/penumbra/R/x86_64-pc-linux-gnu-library/3.4/Rcmdr’

The downloaded source packages are in
‘/tmp/RtmpZ8xbEv/downloaded_packages’
There were 12 warnings (use warnings() to see them)



O comando utilizado foi >install.packages ("Rcmdr", dependencies=TRUE)
Alguém sabe como resolve-lo?









Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts