Displaying 3 results from an estimated 3 matches for "map2lin".
Did you mean:
maplin
2003 Dec 01
1
Re: using shapefile as owin
...n G4.
My process looks like this:
#begin code
> library(maptools)
> Shapefile<-read.shape("county.shp", dbf.data=TRUE)
Shapefile Type: Polygon # of Shapes: 4
> plot(Shapefile, fg="white")
> rm(Map)
> shapepoly<-Map2poly(Shapefile, region.id = NULL)
Map2lines(Shapefile)
Map2points(Shapefile)
Map2bbs(Shapefile)
[[1]]
[,1] [,2]
[1,] -116.1655 34.03370
[2,] -116.1672 34.03370
[3,] -116.1819 34.03364
#R does its thing for a gillion more lines, then,
Error in Map2lines(Shapefile) : maptype not line/arc
> plot(shap...
2005 Jul 16
1
PBSmapping and shapefiles
Hi,
Is there a way, preferably with R, to read shapefiles and transform
them in a format that I could then use with package PBSmapping?
I have been able to read such files into R with maptools' read.shape
and plot it with plot.Map, but I'd like to bring the data to
PBSmapping and plot from there. I also looked at the package
shapefile, but it does not seem to do what I want
2008 May 05
3
troubles with R CMD check and examples under Ubuntu gutsy
Dear listers,
I was used to package pgirmess under Windows with everything OK, but,
for the first time, I had a trial this afternoon on Ubuntu 7.10 gutsy (I
have a double boot computer and work more and more under unix) and R
2.7.0. Everything went OK except this:
sudo R CMD check pgirmess
.....
* checking examples ... ERROR
Running examples in 'pgirmess-Ex.R' failed.
The error most