title: No results for plotly/shiny in Rstudio
body: <p>The question has confused me for about 1 months or more. When I try to get a plotly or shiny object with the package in Rstudio, nothing appeared in the Viewer window. </p>
  
  <p>For the plotly, I can get the correct result in Rgui, while it it doesn't work for shiny even if I just want to get the simplest example result.</p>
  
  <p>For example, when I run the following code:</p>
  
  <pre><code>library(shiny)
  runExample("01_hello")
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>library(ggplot2)
  library(plotly)
  data &lt;- data.frame(x=1:10,y=1:10)
  p&lt;-ggplot(data,aes(x,y))+geom_point()
  ggplotly(p)
  </code></pre>
  
  <p>I just got the blank window in the Viewer for Rstudio and no error message as following.</p>
  
  <p><a href="https://i.stack.imgur.com/MbtUx.jpg" rel="nofollow noreferrer">So sorry I can just put a link here</a></p>
  
  <p>I've tried everything I could, and I've updated the Rstudio, the package but nothing helped. I remember that it worked half years ago and I really couldn't understand what happened then.</p>
  
  <p>I've seen the question <a href="https://stackoverflow.com/questions/44392544/no-plot-displayed-with-plotly-in-shiny">No plot displayed with plotly in shiny</a> before, but it doesn't work too.</p>
  
  <pre><code>R version 3.5.1 (2018-07-02)
  Platform: x86_64-w64-mingw32/x64 (64-bit)
  Running under: Windows &gt;= 8 x64 (build 9200)
  Matrix products: default
  
  locale:
  [1] LC_COLLATE=Chinese (Simplified)_China.936  LC_CTYPE=Chinese 
  (Simplified)_China.936   
  [3] LC_MONETARY=Chinese (Simplified)_China.936 LC_NUMERIC=C                              
  [5] LC_TIME=Chinese (Simplified)_China.936    
  
  attached base packages:
  [1] stats     graphics  grDevices utils     datasets  methods   base     
  
  other attached packages:
  [1] plotly_4.8.0.9000 ggplot2_3.1.0     shiny_1.2.0     
  </code></pre>
  
  <p>Any suggestions are very welcome, thanks!</p>