Upload example app should accept text/plain files

This commit is contained in:
Joe Cheng
2012-08-31 22:39:45 -07:00
parent 0714871b56
commit e61f7405fd

View File

@@ -4,7 +4,7 @@ shinyUI(pageWithSidebar(
headerPanel("CSV Viewer"),
sidebarPanel(
fileInput('file1', 'Choose CSV File',
accept=c('text/csv', 'text/comma-separated-values')),
accept=c('text/csv', 'text/comma-separated-values,text/plain')),
tags$hr(),
checkboxInput('header', 'Header', TRUE),
radioButtons('sep', 'Separator',