Re: [R] Plotting boundary lines from shapefiles overtop a map of Canada

2014-09-24 Thread Alain Dubreuil
3:18 PM To: Alain Dubreuil; Ray Brownrigg; William Dunlap Cc: r-help@r-project.org Subject: Re: [R] Plotting boundary lines from shapefiles overtop a map of Canada Hi Alain: The issue is that map() is "too clever" and will only plot those map boundaries that fall within the defined

Re: [R] Plotting boundary lines from shapefiles overtop a map of Canada

2014-09-24 Thread Alain Dubreuil
cause of the "Canada" specification in the map command, so I removed it but it ended up showing the entire USA territory (minus Hawaii) in addition to Canada. Thanks Alain -Original Message- From: Ray Brownrigg [mailto:ray.brownr...@ecs.vuw.ac.nz] Sent: September-24-14 7:37 AM To:

Re: [R] Plotting boundary lines from shapefiles overtop a map of Canada

2014-09-23 Thread Alain Dubreuil
jection in the call to mapproject yields different results than specifying it which seems contrary to the documentation (?). Thanks Alain Dubreuil Ottawa, Canada -Original Message- From: Ray Brownrigg [mailto:ray.brownr...@ecs.vuw.ac.nz] Sent: September-23-14 4:41 AM To: Alain Dubreuil; r-h

[R] Plotting boundary lines from shapefiles overtop a map of Canada

2014-09-22 Thread Alain Dubreuil
/myRfolder/mySARshapefile_lines.shp") lines(region, col=alpha("black", 0.6)) I have tried playing with spplot, but I haven't quite understood how this one works yet (gives me an error message: "Error in stack.SpatialPointsDataFrame(as(data, "SpatialPointsDataFr