[R] Arc/INFO format with R/S-Plus?

Ray Brownrigg Ray.Brownrigg at mcs.vuw.ac.nz
Sat Nov 13 00:47:26 CET 1999


>             I am looking for a way to show a map (of Germany) with symbols
> of different size (like a SAS bubble plot) showing certain cities associated
> with different values of a variable. Or this there another way (data) to
> produce such a plot?
> 
You can do this in R (Linux only) or S-Plus (Windows or Linux) using the
Becker and Wilks "Maps in S" software, with an appropriate world
database.

On ftp://ftp.mcs.vuw.ac.nz/pub/statistics/map there are a collection of
files related to "Maps in S".  The following will be of interest to you:

maps_0.1-1_intel.tar.gz		{ R "maps" package including world
				{   databases (25MB)

world.full.g			{ S-Plus for Windows data files for
world.full.l			{   library(maps) (total 15MB)
world.full.N			{

Note that I suspect that the database files contained in the R package
will work using S-Plus 5.1 for Linux on the same architecture (I would
appreciate someone who runs S-Plus 5.1 for Linux on Intel to confirm
this for me).

The library(maps) allows you to plot country (and other) boundaries,
and to place additional data on the maps, using latitude and longitude
as the coordinate system.  The R package already has a database of
world cities (greater than 100,000 population) included, but the
map.cities() function source will give you an idea of how to approach
your problem.

Hope this helps,
Ray Brownrigg <ray at mcs.vuw.ac.nz>	http://www.mcs.vuw.ac.nz/~ray
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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