title: How to show lines connecting latitude and longitude points in world map?
body: <p>I have get a CSV file of longitude and latitude like the following (the total length is 86 points in the CSV):</p>
  
  <pre><code>  Index       lon            lat
    1         2.352222    48.85661
    2         -72.922343  41.31632
    3         108.926694  34.25005
    4         -79.944163  40.44306
    5     -117.328119 33.97329
    6     -79.953423  40.4442
    7         -84.396285  33.77562
    8     -95.712891  37.09024
  </code></pre>
  
  <p>And now I want to plot a line from the point(32.06025,118.7969) to all these points(lon,lat) that like many arrow lines from one point.</p>
  
  <p>I have try all this work in R and I have meet something strange.For example, if I use </p>
  
  <pre><code>  map('world2Hires')
    for (j in 1:length(location$lon)) {
    inter &lt;- gcIntermediate(c(lon_nj, lat_nj), c(location$lon[j], location$lat[j]), n=100,         addStartEnd=TRUE)
    lines(inter, col="black", lwd=0.8)
    }
    View(location)
  </code></pre>
  
  <p>The result is like this:
  <img src="https://i.stack.imgur.com/Yzvgy.png" alt="image of R"></p>
  
  <p>If all the lines point to USA further come across the pacific ocean that the map is very good. But it doesn't.</p>
  
  <p>Do you have any idea? How can I realize this? Any tools are OK although I have experience in Python and R.
  Thank you!</p>