See ?readOGR in rgdal and ?coordinates in sp. You would read the shapefile, and then get into it from there.
See also require(sp) vignette("sp") On Sat, Apr 6, 2013 at 4:05 AM, hnstedu <hnst...@163.com> wrote: > Dear all, > How could I extract latitude/longitude from shapefile with R software? > For example, we could obtain shapefile from http://www.diva-gis.org/gdata. > > Thanks very much > > > Best Regards, > wanhai > > > > [[alternative HTML version deleted]] > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > -- Michael Sumner Hobart, Australia e-mail: mdsum...@gmail.com [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo