title: Plot connecting lines on a projected map (mapproj, gcIntermediate)
body: <p>I am unsuccessfully trying to plot lines on a world map with Mollweide projection. I also plotted points on that same map, and it worked out fine. For the lines, I tried to adapt this example to my needs: <a href="http://flowingdata.com/2011/05/11/how-to-map-connections-with-great-circles/" rel="nofollow noreferrer">http://flowingdata.com/2011/05/11/how-to-map-connections-with-great-circles/</a>.
  I failed with the pre-test (Step 4 in the ex.) already. In the following code, the line is supposed to connect Kenya and Australia. It runs without errors, but there's no line in the output. (I also tested the example without mapproj and the line is there.)</p>
  
  <pre><code>library("maps")
  library("mapproj")
  library("geosphere")
  
  map("world",proj="mollweide", orientation= c(90,0,0), fill=TRUE, col="white", bg="lightblue")
  
  lon_ke &lt;- 38
  lat_ke &lt;- 1
  
  lon_aus &lt;- 133
  lat_aus &lt;- -27
  
  inter &lt;- gcIntermediate(c(mapproject(lon_ke,lat_ke), proj="mollweide", orientation= c(90,0,0)),
                          c(mapproject(lon_aus,lat_aus), proj="mollweide", orientation= c(90,0,0)),
                          n=50, addStartEnd=TRUE)
  lines(inter)
  </code></pre>