> install.packages("XLConnect")
Installing package into ‘/home/andre/R/i686-pc-linux-gnu-library/3.1’
(as ‘lib’ is unspecified)
also installing the dependency ‘XLConnectJars’
tentando a URL 'http://cran.rstudio.com/src/contrib/XLConnectJars_0.2-9.tar.gz'
Content type 'application/x-gzip' length 12946884 bytes (12.3 Mb)
URL aberta
==================================================
downloaded 12.3 Mb
tentando a URL 'http://cran.rstudio.com/src/contrib/XLConnect_0.2-9.tar.gz'
Content type 'application/x-gzip' length 5735190 bytes (5.5 Mb)
URL aberta
==================================================
downloaded 5.5 Mb
* installing *source* package ‘XLConnectJars’ ...
** package ‘XLConnectJars’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error : package ‘rJava’ was built before R 3.0.0: please re-install it
ERROR: lazy loading failed for package ‘XLConnectJars’
* removing ‘/home/andre/R/i686-pc-linux-gnu-library/3.1/XLConnectJars’
Warning in install.packages :
installation of package ‘XLConnectJars’ had non-zero exit status
ERROR: dependency ‘XLConnectJars’ is not available for package ‘XLConnect’
* removing ‘/home/andre/R/i686-pc-linux-gnu-library/3.1/XLConnect’
Warning in install.packages :
installation of package ‘XLConnect’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpqBkTaa/downloaded_packages’
> install.packages("XLConnectJars")
Installing package into ‘/home/andre/R/i686-pc-linux-gnu-library/3.1’
(as ‘lib’ is unspecified)
tentando a URL 'http://cran.rstudio.com/src/contrib/XLConnectJars_0.2-9.tar.gz'
Content type 'application/x-gzip' length 12946884 bytes (12.3 Mb)
URL aberta
==================================================
downloaded 12.3 Mb
* installing *source* package ‘XLConnectJars’ ...
** package ‘XLConnectJars’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error : package ‘rJava’ was built before R 3.0.0: please re-install it
ERROR: lazy loading failed for package ‘XLConnectJars’
* removing ‘/home/andre/R/i686-pc-linux-gnu-library/3.1/XLConnectJars’
Warning in install.packages :
installation of package ‘XLConnectJars’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpqBkTaa/downloaded_packages’
Na verdade não instala nem o XLConnectJars, xlsx, e rjava! Dá os mesmo erros. Alguma sugestão?
Sempre resolvi a questão assim, mas neste momento não deu certo!
sudo apt-get build-dep r-cran-rjava
sudo apt-get build-dep r-cran-rgl
sudo apt-get build-dep r-cran-rcmdr
install.packages("Rcmdr", dep=T)
install.packages("XLConnect", dep=T)
install.packages("XLConnectJars", dep=T)
install.packages("rJava", dep=T)