Getting Geographical Coordinates in R Math, CS, Data
Here is a simple function for getting the longitudes and latitudes for a vector of places.
The function is demonstrated below for a handful of cities. Notice that I created a space function to make room on the plot for the text that will be placed on it. The locations can be plotted on a blank space, but I have placed this demo on a ready-made US map provided by the maps package.