Hi Amoy, Another mystery question. I should have pursued parapsychology. That error statement is usually followed by one noting that the file specified cannot be found. Today's guess is that the R working directory:
getwd() did not have a "maps" directory below it. Jim On Fri, Jan 22, 2016 at 11:39 AM, Amoy Yang via R-help <r-help@r-project.org > wrote: > Any advice for the following errors? > state.map <- readShapeSpatial("maps/st24_d00.shp") > Error in getinfo.shape(fn) : Error opening SHP file > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.