Re: [R] plotting texas school district using shape files

From: Ben Bolker <>
Date: Wed, 25 May 2011 12:06:19 +0000

Shant Ch <sha1one <at>> writes:

> Hi,
> I was plotting or creating a map for Texas school districts
> using the shape file
> of Texas. I could not find any other helpful mail in the mailing list.
> txshp<-read.shape(system.file("S:\\Districts_10_11.shp", package="maptools"))
> Error- read.shape no found. But read.shape is there in maptools.

   A couple of things: that's probably not the *exact* error you got. Did you remember to load the package first with library("maptools") ... ? (You did install the package first, too, right?)   

  After you have done that I suspect you will still have a problem with finding the file -- I think you want something like

txtshp <- read.shape("S:\\Districts_10_11.shp")

  Ben Bolker mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 25 May 2011 - 12:10:23 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 25 May 2011 - 14:40:10 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive