## Hello.. I have asked a similar question, but this is not fixed as before.
## I am running the following using Ubuntu OS: R version 2.13.1 (2011-07-08) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-pc-linux-gnu (64-bit) ## when I do this: > install.packages("mapproj", dependencies=T) ## I get this: Installing package(s) into â/home/brad/R/x86_64-pc-linux-gnu-library/2.13â (as âlibâ is unspecified) also installing the dependency âmapsâ trying URL 'http://cran.case.edu/src/contrib/maps_2.1-6.tar.gz' Content type 'application/x-gzip' length 1371854 bytes (1.3 Mb) opened URL ================================================== downloaded 1.3 Mb trying URL 'http://cran.case.edu/src/contrib/mapproj_1.1-8.3.tar.gz' Content type 'application/x-gzip' length 23955 bytes (23 Kb) opened URL ================================================== downloaded 23 Kb * installing *source* package âmapsâ ... ** libs ** arch - gcc -std=gnu99 -O3 -pipe -g Gmake.c -o Gmake Gmake.c: In function âget_lhâ: Gmake.c:111: warning: cast from pointer to integer of different size Gmake.c:113: warning: cast from pointer to integer of different size Gmake.c: In function âmainâ: Gmake.c:211: warning: cast from pointer to integer of different size Gmake.c:214: warning: cast from pointer to integer of different size Gmake.c:217: warning: cast from pointer to integer of different size Gmake.c:219: warning: cast from pointer to integer of different size Gmake.c:221: warning: cast from pointer to integer of different size Gmake.c:224: warning: cast from pointer to integer of different size Gmake.c:227: warning: cast from pointer to integer of different size gcc -std=gnu99 -O3 -pipe -g Lmake.c -o Lmake Lmake.c: In function âmainâ: Lmake.c:223: warning: cast from pointer to integer of different size Lmake.c:228: warning: cast from pointer to integer of different size Lmake.c:230: warning: cast from pointer to integer of different size Lmake.c:232: warning: cast from pointer to integer of different size Lmake.c:235: warning: cast from pointer to integer of different size Converting world to world2 f convert.awk < world.line > world2.line /bin/bash: f: command not found make: [world2.line] Error 127 (ignored) make county.L state.L usa.L nz.L world.L world2.L italy.L france.L make[1]: Entering directory `/tmp/RtmpssTER5/R.INSTALL21eb6525/maps/src' ./Lmake 0 s b county.line county.linestats ../inst/mapdata/county.L ./Lmake 0 s b state.line state.linestats ../inst/mapdata/state.L ./Lmake 0 s b usa.line usa.linestats ../inst/mapdata/usa.L ./Lmake 0 s b nz.line nz.linestats ../inst/mapdata/nz.L ./Lmake 0 s b world.line world.linestats ../inst/mapdata/world.L ./Lmake 0 s b world2.line world2.linestats ../inst/mapdata/world2.L Cannot read left and right at line 1 make[1]: *** [world2.L] Error 1 make[1]: Leaving directory `/tmp/RtmpssTER5/R.INSTALL21eb6525/maps/src' make: *** [ldata] Error 2 ERROR: compilation failed for package âmapsâ * removing â/home/brad/R/x86_64-pc-linux-gnu-library/2.13/mapsâ ERROR: dependency âmapsâ is not available for package âmapprojâ * removing â/home/brad/R/x86_64-pc-linux-gnu-library/2.13/mapprojâ The downloaded packages are in â/tmp/RtmpwXL9El/downloaded_packagesâ Warning messages: 1: In install.packages("mapproj", dependencies = T) : installation of package 'maps' had non-zero exit status 2: In install.packages("mapproj", dependencies = T) : installation of package 'mapproj' had non-zero exit status > ## Any idea as to why? this also happens when I try to install the 'maps' package -- View this message in context: http://r.789695.n4.nabble.com/installation-of-package-mapproj-had-non-zero-exit-status-tp3662940p3662940.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list 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.