From c8642b3b681206323363da3935b5fdeff5ebbe0c Mon Sep 17 00:00:00 2001 From: Dai Zhuo Jia Date: Sat, 19 Oct 2013 17:13:08 +0800 Subject: [PATCH] added .csv for Windows users Without the ".csv" on Windows file selector does not filter for csv files. This may be due to Excel. But the install base for Excel is humongous so I propose to incorporate it. --- _includes/tutorial/uploads.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/tutorial/uploads.md b/_includes/tutorial/uploads.md index 4041b5ab9..4b9b867cd 100644 --- a/_includes/tutorial/uploads.md +++ b/_includes/tutorial/uploads.md @@ -22,7 +22,7 @@ shinyUI(pageWithSidebar( headerPanel("CSV Viewer"), sidebarPanel( fileInput('file1', 'Choose CSV File', - accept=c('text/csv', 'text/comma-separated-values,text/plain')), + accept=c('text/csv', 'text/comma-separated-values,text/plain', '.csv')), tags$hr(), checkboxInput('header', 'Header', TRUE), radioButtons('sep', 'Separator',