Re: [R] Inputing Excel data into R to make a map

2012-04-05 Thread Michael Sumner
Please provide a sample of the data and the code you have tried. If "pts" is your data.frame read in from CSV and the long/lats describe points within the mainland U.S. then this should show you sensible points on the map: require(maps) map('state') points(pts$long, pts$lat) If not, investigate

[R] Inputing Excel data into R to make a map

2012-04-05 Thread Metametadata
Hi everyone, I'm trying to input an excel datasheet with city names and lat+longs, that has already been converted to a .csv file and make a map using R with my data. My datasheet is 30 cities, with their lat+long, temp, elevation. So far all I'm able to do is load the datasheet into R, I instal