title: Plotly Maps Not Rendering in R
body: <p>I have successfully installed the plotly library for R.</p>
  
  <p>To get started, I followed their Getting Started for R guide and directly copied the code from several plots in my RStudio Version 0.99.489.</p>
  
  <p>The examples for scatterplots, box plots, etc. work well.</p>
  
  <p>The examples for bubble and choropleth maps do not plot properly.  The maps do not render at all.  Only title and legend show after running the code.</p>
  
  <p>Links to the code are here:</p>
  
  <p><a href="https://plot.ly/r/bubble-maps/" rel="noreferrer">https://plot.ly/r/bubble-maps/</a></p>
  
  <p><a href="https://plot.ly/r/choropleth-maps/" rel="noreferrer">https://plot.ly/r/choropleth-maps/</a></p>
  
  <p>Can anyone help?</p>
  
  <p>Thanks in advance.</p>
  
  <p>EDIT:</p>
  
  <p>Tools:</p>
  
  <p>Plotly Library 2.016 for R</p>
  
  <p>R Studio Version 0.99.489 </p>
  
  <p>R Version 3.2.2</p>
  
  <p>Running on Windows 7 Home 64 </p>
  
  <p>One set of code tried for a Plotly Bubble Map (copied straight from their user guide/code examples:</p>
  
  <pre><code>library(plotly)
  df &lt;- read.csv('https://raw.githubusercontent.com/plotly/datasets/master/2014_us_cities.csv')
  df$hover &lt;- paste(df$name, "Population", df$pop/1e6, " million")
  
  df$q &lt;- with(df, cut(pop, quantile(pop)))
  levels(df$q) &lt;- paste(c("1st", "2nd", "3rd", "4th", "5th"), "Quantile")
  df$q &lt;- as.ordered(df$q)
  
  g &lt;- list(
    scope = 'usa',
    projection = list(type = 'albers usa'),
    showland = TRUE,
    landcolor = toRGB("gray85"),
    subunitwidth = 1,
    countrywidth = 1,
    subunitcolor = toRGB("white"),
    countrycolor = toRGB("white")
  )
  
  plot_ly(df, lon = lon, lat = lat, text = hover,
          marker = list(size = sqrt(pop/10000) + 1),
          color = q, type = 'scattergeo', locationmode = 'USA-states') %&gt;%
    layout(title = '2014 US city populations&lt;br&gt;(Click legend to toggle)', geo = g)
  </code></pre>
  
  <p>EDIT #2</p>
  
  <p>I've isolate the issue to here:</p>
  
  <pre><code>plot_ly(df, lon = lon, lat = lat, text = hover,
          marker = list(size = sqrt(pop/10000) + 1),
          color = q, type = 'scattergeo', locationmode = 'USA-states')
  </code></pre>
  
  <p>I'm not sure how to troubleshoot from here or simplify the syntax to see what might be happening.  </p>