title: How to load a folder of csv files in shiny
body: <p>I have a folder of CSV files and i want to upload and access them as a list of files in shiny. I tried the following code  to upload  the files. </p>
  
  <pre><code>server: output$sourced &lt;- renderDataTable({
  
          inFile &lt;- input$file1
  
          if (is.null(inFile))
            return(NULL)
  
          df &lt;- list.files(inFile$datapath)  #, header=input$header, sep=input$sep, quote=input$quote)
  
      }) 
  
  ui.r:  fileInput("file1", "Choose CSV files from directory", multiple = "TRUE",
                  accept=c('text/csv', 'text/comma-separated-values,text/plain', '.csv')),
  </code></pre>
  
  <p>Error for folder upload: </p>
  
  <p><code>invalid 'description' argument</code></p>
  
  <p>For one file its working fine if i use <code>df &lt;- read.csv(inFile$datapath)</code> to load a file. But m not able to upload a folder. Help appreciated.</p>