title: How to embed shiny app on SharePoint with Iframe tag
body: <p>I have a very simple app showing some data. 
  How do you embed this in a SharePoint site using using iframe ?
  or is there an easier way to do this ?</p>
  
  <pre><code>library(ggplot2)
  library(shiny)
  library(DT)
  library(readr)
  
  PRTypeCount &lt;- read_csv("H:/SP/PRTypeCount.txt")
  
  
  
  ui &lt;- navbarPage(
  title = 'PRTypeCount',
  tabPanel('PRTypeCount', DT::dataTableOutput('PRTypeCount')))
  
  server&lt;-function(input, output) {
  
  output$PRTypeCount &lt;- DT::renderDataTable(
  DT::datatable(PRTypeCount, options = list(pageLength = 25))
  )
  
  }
  
  shinyApp(ui = ui, server = server)
  </code></pre>