[R] installing package maps

Ott Toomet siim at obs.ee
Thu Aug 22 11:09:35 CEST 2002


HI,

Is there anybody using package maps, available at
ftp://ftp.mcs.vuw.ac.nz/pub/statistics/map/

I have installed it (version  maps_0.1-3.tar.gz wich seems to be latest, on
R 1.5.1, linux), but whatever I do, I get a segfault.  Discussion in the
mailing list suggests that the package is not finished yet but is still
usable, at least on some platforms.  Does anybody has experience with
similar problems, e.g. as

> library(maps)
> map()

Process R segmentation fault (core dumped) at Thu Aug 22 10:57:09 2002

The installation seems to be OK, see below.  Perhaps I need to set some
options?

Ott


----------------------------
[root at localhost siim]# R CMD INSTALL a/maps_0.1-3.tar.gz 
* Installing *source* package 'maps' ...
** libs
gcc -I/usr/lib/R/include  -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp
-fPIC  -O2 -I/include  -c mapget.c -o mapget.o
gcc -I/usr/lib/R/include  -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp
-fPIC  -O2 -I/include  -c maps_i.c -o maps_i.o
gcc -I/usr/lib/R/include  -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp
-fPIC  -O2 -I/include  -c thin.c -o thin.o
R SHLIB -o maps.so mapget.o maps_i.o thin.o
make[1]: Entering directory /tmp/R.INSTALL.1293/maps/src'
gcc -shared  -o maps.so mapget.o maps_i.o thin.o    -L/usr/lib/R/bin -lR
make[1]: Leaving directory /tmp/R.INSTALL.1293/maps/src'
gcc -o Gmake Gmake.c
gcc -o Lmake Lmake.c
./Lmake 0 s b county.line ../data/county.L
/Gmake b county.gon ../data/county.G ../data/county.L
cp county.N ../data/county.N
./Lmake 0 s b state.line ../data/state.L
./Gmake b state.gon ../data/state.G ../data/state.L
cp state.N ../data/state.N
./Lmake 0 s b state.vbm.line ../data/state.vbm.L
./Gmake b state.vbm.gon ../data/state.vbm.G ../data/state.vbm.L
cp state.vbm.N ../data/state.vbm.N
./Lmake 0 s b usa.line ../data/usa.L
./Gmake b usa.gon ../data/usa.G ../data/usa.L
cp usa.N ../data/usa.N
./Lmake 0 s b china.line ../data/china.L
./Gmake b china.gon ../data/china.G ../data/china.L
cp china.N ../data/china.N
./Lmake 0 s b nz.line ../data/nz.L
./Gmake b nz.gon ../data/nz.G ../data/nz.L
cp nz.N ../data/nz.N
./Lmake 0 s b nz.vhr.line ../data/nz.vhr.L
./Gmake b nz.vhr.gon ../data/nz.vhr.G ../data/nz.vhr.L
cp nz.vhr.N ../data/nz.vhr.N
/Lmake 0 s b rivers.line ../data/rivers.L
./Gmake b rivers.gon ../data/rivers.G ../data/rivers.L
cp rivers.N ../data/rivers.N
./Lmake 0 s b world.thin.line ../data/world.thin.L
./Gmake b world.thin.gon ../data/world.thin.G ../data/world.thin.L
cp world.thin.N ../data/world.thin.N
./Lmake 0 s b world.line ../data/world.L
./Gmake b world.gon ../data/world.G ../data/world.L
cp world.N ../data/world.N
./Lmake 0 s b world2.thin.line ../data/world2.thin.L
./Gmake b world2.thin.gon ../data/world2.thin.G ../data/world2.thin.L
cp world2.thin.N ../data/world2.thin.N
./Lmake 0 s b world2.line ../data/world2.L
./Gmake b world2.gon ../data/world2.G ../data/world2.L
cp world2.N ../data/world2.N
echo 'source("world.cities.s")' | R --vanilla --no-save

R : Copyright 2002, The R Development Core Team
Version 1.5.1  (2002-06-17)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type license()' or licence()' for distribution details.

R is a collaborative project with many contributors.
Type contributors()' for more information.

Type demo()' for some demos, help()' for on-line help, or
help.start()' for a HTML browser interface to help.
Type q()' to quit R.

> source("world.cities.s")
> 
** R
** data
** help
 >>> Building/Updating help pages for package maps'
     Formats: text html latex example 
  map                               text    html    latex   example
  map.axes                          text    html    latex   example
  map.cities                        text    html    latex   example
  map.scale                         text    html    latex   example
  nz                                text    html    latex   example
  state.vbm                         text    html    latex   example
  usa                               text    html    latex   example
  world                             text    html    latex   example
  world.cities                      text    html    latex
* DONE (maps)

* DONE (INSTALL)

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list