Ajay ohri <ohri2007 <at> gmail.com> writes: > > Hi, > > I have a data file in a KML format which is Google Earth's format for > geographic data. I need to import it into a csv file . How can I do that. > KML format is just like XML format .example below
The easiest way is most likely to use the rgdal KML driver, now also reading KML files. Install the rgdal package, and use the readOGR() function. Then coerce the imported object to a data frame, and export to csv with write.csv(). Roger > > Which R module with deal with an OR problem (like transportation problem > using geo coded data as in the example below) > > Regards, > Ajay > > www.decisionstats.com > - ______________________________________________ R-help@r-project.org mailing list 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.