Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add option to specify file format to support Shiny fileInput() #85
When a file is loaded through a fileInput() widget in a Shiny app, it appears that read_excel scans the file name to determine the file type (at least when input$file[,4] - the file path) is used. Shiny uploads an extension-less temporary file so read_excel can't open the file.
added a commit
Jun 28, 2015
to ensure that the user does upload an .xlsx file, or you need to check the extension you're self to switch between read functions. You can extract the extension as following:
update: instead of