[R] Error when installing packages

Ulrik Stervbo ulrik.stervbo at gmail.com
Tue Jul 26 16:29:07 CEST 2016


Hi Georg,

excel.link and installr: as far as I can tell from CRAN, excel.link and
installr are for windows OS only
1-5: you are installing packages that are wrappers to system
function/programms. They must be present on your system first.

2: Maybe Weka is missing in the path? Is your java excutable really at
'/usr/lib/jvm/default-java/jre/bin/java'. Maybe you need to tell R where to
find Java

I always install things like Rgraphviz from the ubuntu repository.

Hope this helps,
Ulrik


On Tue, 26 Jul 2016 at 16:09 <G.Maubach at gmx.de> wrote:

> Hi All,
>
> I try to install packages on Debian GNU Linux 8 (Kernel 3.16.0-4-amd64).
>
> My sessionInfo() is
>
> R version 3.3.1 (2016-06-21)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Debian GNU/Linux 8 (jessie)
>
> locale:
>  [1] LC_CTYPE=de_DE.UTF-8       LC_NUMERIC=C
>  [3] LC_TIME=de_DE.UTF-8        LC_COLLATE=de_DE.UTF-8
>  [5] LC_MONETARY=de_DE.UTF-8    LC_MESSAGES=de_DE.UTF-8
>  [7] LC_PAPER=de_DE.UTF-8       LC_NAME=C
>  [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> loaded via a namespace (and not attached):
> [1] tools_3.3.1
>
> Installing the following packages
>
> Warning in install.packages :
>   packages ‘excel.link’, ‘installr’ are not available (for R version 3.3.1)
> Warning in install.packages :
>   dependencies ‘latticist’, ‘graph’, ‘RBGL’, ‘pkgDepTools’, ‘Rgraphviz’
> are not available
> also installing the dependencies ‘RCurl’, ‘RWekajars’
>
> results in the following messages:
>
> (1)
> * installing *source* package ‘RCurl’ ...
> checking for curl-config... no
> Cannot find curl-config
>
> (2)
> * installing *source* package ‘RWekajars’ ...
> ./configure: 1: ./configure: /usr/lib/jvm/default-java/jre/bin/java: not
> found
> ./configure: 50: test: -ge: unexpected operator
> ./configure: 51: test: -eq: unexpected operator
> Need at least Java version 1.6/6.0.
> ERROR: configuration failed for package ‘RWekajars’
>
> Annotation: I have openjdk-8-jre installed.
>
> (3)
> * installing *source* package ‘cairoDevice’ ...
> ERROR: gtk+2. not found by pkg-config.
> ERROR: configuration failed for package ‘cairoDevice’
>
> (4)
> * installing *source* package ‘rgdal’ ...
> configure: CC: gcc -std=gnu99
> configure: CXX: g++
> configure: rgdal: 1.1-10
> checking for /usr/bin/svnversion... no
> configure: svn revision: 622
> checking for gdal-config... no
> no
> configure: error: gdal-config not found or not executable.
> ERROR: configuration failed for package ‘rgdal’
>
> (5)
> * installing *source* package ‘rgeos’ ...
> configure: CC: gcc -std=gnu99
> configure: CXX: g++
> configure: rgeos: 0.3-19
> checking for /usr/bin/svnversion... no
> configure: svn revision: 524
> checking for geos-config... no
> no
> configure: error: geos-config not found or not executable.
> ERROR: configuration failed for package ‘rgeos’
>
> ... and much more.
>
> Do all these error messages have something in common?
>
> How could I fix the installation?
>
> Kind regards
>
> Georg
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]



More information about the R-help mailing list