Displaying 20 results from an estimated 57 matches for "mapdata".
Did you mean:
apdata
2003 Nov 05
3
map does not display maps, MacOSX
Hi,
I installed the maps and mapdata libraries on my R-1.8.0 on
MacOSX 10.2.8 (jaguar on a powerbook G4), and failed to make the
map function work properly:
R : Copyright 2003, The R Development Core Team
Version 1.8.0 (2003-10-08)
[...]
> library(maps)
> map()
Error in file(file, "r") : unable to open connection
I...
2011 Jul 12
1
installation of package 'mapproj' had non-zero exit status
...< 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 .....
2005 May 31
3
labels on map
dear all:
Im trying to obtain maps on R, under mapdata library, but I cannot define the labels.
Here is an example:
library(mapdata)
map("worldHires", c("portugal","spain"),ylim=c(34,46),xlim=c(-14,3.5))
axis(1,at=seq(-12,3,3))
axis(2)
when I try the parameter xlab or ylab in axis, i get:
parameter "ylab" coul...
2011 Jul 26
2
R 2.13.1 for Windows: error when loading (some) packages
I am using the latest version of R 2.13.1 and need to load the following
packages;
library(maps)
library(mapdata)
library(mapproj)
library(lattice)
library(tgp)
library(spatstat)
library(akima)
I get the follwing error when loading the packages, "maps", "mapdata" and
"mapproj"
Error: package 'maps' is not installed for 'arch=i386'
Error: package 'mapdata'...
2006 Apr 27
2
add city and point in the map
Dear Helpers:
I'm trying to use packages "maps" and "mapdata" (see blow) to display the research resutls on map (Mid-Atlantic region). In particular, I need to mark a number of points in the map by giving their latitude and longitude information. For instance, I would like to mark a point on (long, lat) =(75.56027, 39.09271). Also, I need to mark sev...
2008 Apr 11
1
polygons on scatterplot3d
...line type but cannot figure out how to fill the shape. I'm certain it
may be possible but might require a bit of digging into the
scatterplot3d code and rotational method.
Any and all help or suggestions appreciated.
EX.
library(scatterplot3d)
# get a coastline
library(maps)
library(mapdata)
coast<-map('worldHires', c('usa','canada'),xlim=c(-72,-67),
ylim=c(40,45),fill=TRUE, col='gray')
# note: substitute a simple polygon if you don't have maps and mapdata
# coast<-list()
# coast$x<-c(-70.5,-70.5,-70,-70)
# coast$y<-c(41.2,43,43,41.2)...
2003 Nov 01
0
R maps, mapdata and mapproj for Windows
Nearly a month ago I announced the availability of a Windows port of
the maps for S package but for various reasons the Windows binaries
did not appear on CRAN until yesterday. Now I am pleased to announce
that the three packages maps_2.0-8 (the base maps package with
low-resolution databases), mapdata_2.0-6 (high-resolution and other
databases) and mapproj_1.1 (projection add-on for maps, maintained by
Tom Minka) are all now available on CRAN both in source and Windows
binary forms.
I apologise for the delays.
Ray Brownrigg
_______________________________________________
R-packages mailing lis...
2003 Nov 01
0
R maps, mapdata and mapproj for Windows
Nearly a month ago I announced the availability of a Windows port of
the maps for S package but for various reasons the Windows binaries
did not appear on CRAN until yesterday. Now I am pleased to announce
that the three packages maps_2.0-8 (the base maps package with
low-resolution databases), mapdata_2.0-6 (high-resolution and other
databases) and mapproj_1.1 (projection add-on for maps, maintained by
Tom Minka) are all now available on CRAN both in source and Windows
binary forms.
I apologise for the delays.
Ray Brownrigg
_______________________________________________
R-packages mailing lis...
2005 Jul 25
2
alaska map?
Hello,
I've installed the Becker and Wilks maps, mapdata, and mapproj packages
so I can begin to try these out for some work I need to do on a map of
Alaska but I don't know where to find a map of Alaska. Has anyone solved
this already and could help?
Thanks very much in advance,
Caitlin
2013 Jul 16
1
Masking oceans using polypath
Hi R-help
I am trying to mask the ocean from an image plot I have made.
Here is some example code:
library(mapdata)
image(x=110:155, y =-40:-10, z = outer(1:45, 1:30, "+"),
xlab = "lon", ylab = "lat")
outline <- map("worldHires", plot=FALSE) # returns a list of x/y coords
xrange <- range(outline$x, na.rm=TRUE) # get bounding box
yrange <- range(outline...
2007 Aug 14
3
diffusing GIS data in maps
.... I have a
dataset consisting of particular locations scattered across Europe,
along with magnitude and value information. I can plot these as discrete
points with something like the following:
"geocode" is a dataframe with four columns: LAT; LONG; MAGNITUDE;VALUE.
library(maps)
library(mapdata)
map("worldHires", regions=c("Germany", "Belgium", "Netherlands"))
points(geocode$LONG, geocode$LAT, cex=geocode$MAGNITUDE / 2500,
col=rainbow(length(geocode$VALUE), start=0, end=.4)[rank(geocode$VALUE)])
This gives me a map of Europe with my datapoints high...
2008 Nov 07
1
help with maps : center on the dateline
Hi,
I'm trying to plot a map of the pacific ocean, centered on the dateline, using the maps package.
library(maps) # Basic library to draw maps
library(mapdata)# Library with specialized maps
library(mapproj)
map(database = "world", fill = TRUE, col = 1, plot = TRUE,add=F,
xlim = c(120,300), ylim = c(-20,40))
I tried several different combinations of coordinates, but whatever I try, it doesn't plot anything past the dateline.
Is there a...
2004 Apr 05
1
Drawing maps in R?
What tools and documentation exist for producing maps and working
with polygon and polylist objects in R beyond the following:
* Packages maps, mapproj, maptools, and mapdata.
* Becker and Wilks (1993, 1995), listed as references in the
documentation on the "map" function.
Thanks,
Spencer Graves
2003 Jun 13
2
maps library for R?
Hi there,
Does it already exist a library in R to draw maps (something like a Generic
Mapping Toolbox, http://gmt.soest.hawaii.edu/ port).
I've seen in an old R-help that Ross Ihaka once tried to port the S-plus map
library (http://maths.newcastle.edu.au/~rking/R/help/99b/0832.html ).
Anybody know if this package is available somewhere or if there is somebody
developing a Mapping package
2006 Feb 28
3
Bounding Box in pdf files
...> dev.off()
X11
2
> sessionInfo()
R version 2.2.1, 2005-12-20, sparc-sun-solaris2.9
attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "datasets" "methods"
[7] "base"
other attached packages:
mapdata mapproj maps
"2.0-17" "1.1-7.1" "2.0-30"
This is the error from latex:
! LaTeX Error: Cannot determine size of graphic in test.pdf (no Bound
ingBox).
Any thoughts about what the problem might be?
/Miakel
[[alternative HTML version deleted]]
2003 Nov 03
10
USA map
R users,
In S, there was a function called usa() that
would draw the map of the United States, plus
it had other options for graphics. I have looked
but I can't find the equivalent in R. Is there one?
Thanks,
Jason
2003 Oct 05
0
R maps now for Windows
The original S maps package, previously only available in R on Unix
systems is now available in R for Windows.
maps_2.0-2 and mapdata_2.0-2 (see below) in both source and Windows
binary form (for rw1071) have been uploaded to CRAN, hopefully soon to
appear.
The key aspect of this package which differentiates it from other
GIS related R packages under development is that it is standalone
within R, i.e. it does not rely on the pre...
2003 Oct 05
0
R maps now for Windows
The original S maps package, previously only available in R on Unix
systems is now available in R for Windows.
maps_2.0-2 and mapdata_2.0-2 (see below) in both source and Windows
binary form (for rw1071) have been uploaded to CRAN, hopefully soon to
appear.
The key aspect of this package which differentiates it from other
GIS related R packages under development is that it is standalone
within R, i.e. it does not rely on the pre...
2004 Mar 10
1
Map of British Colonial America 1775
Does anyone have suggestions about how to produce a map of British
Colonial America 1775? At that time, Great Britain had 26 colonies in
the Americas, including Bermuda, several Caribbean islands, "Quebec"
(extending then almost to New Orleans), Nova Scotia, Newfoundland,
Belize, and the 13 that declared independence in 1776.
I've reviewed the "map"
2006 Apr 03
1
Maps of Canada and some (very) simple instructions
...& Windows XP)
I would like to see if I can plot some simple data
(Number of people in certain regions of Canada and
within Ontario and Quebec. Can anyone suggest a) a
souce of Canadian maps and b) some simple worked
examples of using maps. At the moment I have managed
to load the map and mapdata libraries but that is
about the extend of my knowledge.
So far I have not found anything that is as basic as I
need. I need something pretty simple.