Re: [R] plotting points on a map, assigning vectors to values from dataset

2012-09-15 Thread Neele
It worked! Thank you very much! I did not know about about the alphabetical order - trying to run before I can walk. If I can ever help (South American linguistics is my field), let me know! You certainly helped me bringing my dissertation into a better shape! Best wishes, Neele > T

Re: [R] plotting points on a map, assigning vectors to values from dataset

2012-09-14 Thread Neele
Sorry, I forgot to say that I use Rstudio (newest version), but it is the same problem with Mac and Windows. -- View this message in context: http://r.789695.n4.nabble.com/plotting-points-on-a-map-assigning-vectors-to-values-from-dataset-tp4643182p4643183.html Sent from the R help mailing list

[R] plotting points on a map, assigning vectors to values from dataset

2012-09-14 Thread Neele
assign values to points using a data file. I am grateful for any comment! Best wishes, Neele library(maps) library(mapdata) map = read.delim("C:/Users/Neele/Desktop/number_of_modals.txt", header=TRUE) map$longitude=gsub(",",".",map$longitude) map$longitude=as.n