title: BUG: Shiny tableOutput gives error on 0-row data.frame
body: <p>(Is this the right place to report Shiny bugs?)</p>
  
  <p>tableOutput gives the following error when passed a 0-row data.frame:</p>
  
  <pre><code>Warning in matrix(align.tmp[(2 - pos):(ncol(x) + 1)], nrow = nrow(x), ncol = ncol(x) +  :
     data length exceeds size of matrix
  </code></pre>
  
  <p>ui.R:</p>
  
  <pre><code>library(shiny)
  shinyUI(fluidPage(
      mainPanel(
        tableOutput("view"))))
  </code></pre>
  
  <p>server.R:</p>
  
  <pre><code>library(shiny)
  shinyServer(function(input, output) {
      output$view &lt;- renderTable({data.frame(col=character(0))})
  })
  </code></pre>
  
  <p>sessionInfo:</p>
  
  <pre><code>R version 3.1.0 (2014-04-10)
  Platform: x86_64-apple-darwin13.1.0 (64-bit)
  
  locale:
  [1] C
  
  attached base packages:
  [1] stats     graphics  grDevices utils     datasets  methods   base     
  
  other attached packages:
  [1] shiny_0.10.1
  
  loaded via a namespace (and not attached):
  [1] RJSONIO_1.2-0.2 Rcpp_0.11.2     bitops_1.0-6    caTools_1.17   
  [5] digest_0.6.4    htmltools_0.2.4 httpuv_1.3.0    tools_3.1.0    
  [9] xtable_1.7-3   
  </code></pre>