title: Shiny error: 'file' must be a character string or connection
body: <p>Question #1:
  My ui.R code: <br/></p>
  <pre><code>fileInput('file1', h5('Choose input file: (Use only tab delimited text files)'),
                accept=c('text', 'text-separated-values'))
  </code></pre>
  <p>and server.R code <br/></p>
  <pre><code>inFile &lt;- input$file1
  dat&lt;-read.table(inFile$datapath, header=TRUE, sep=&quot;\t&quot;)
  </code></pre>
  <p>when I launch shiny, I am getting, <code>Error: 'file' must be a character string or connection</code>. But after uploading the file, the error goes away. I'm wondering what could be the problem? I'd appreciate any pointers!</p>
  <p>Question #2:
  How to suppress error message in R console, when shiny is running? <br/></p>
  <p>Thanks in advance</p>