fileInput

0th

Percentile

File Upload Control

Create a file upload control that can be used to upload one or more files.

Usage
fileInput(inputId, label, multiple = FALSE, accept = NULL, width = NULL)
Arguments
inputId
The input slot that will be used to access the value.
label
Display label for the control, or NULL for no label.
multiple
Whether the user should be allowed to select and upload multiple files at once. Does not work on older browsers, including Internet Explorer 9 and earlier.
accept
A character vector of MIME types; gives the browser a hint of what kind of files the server is expecting.
width
The width of the input, e.g. '400px', or '100%'; see validateCssUnit.
Details

Whenever a file upload completes, the corresponding input variable is set to a dataframe. This dataframe contains one row for each selected file, and the following columns: [object Object],[object Object],[object Object],[object Object]

See Also

Other input.elements: actionButton, actionLink; animationOptions, sliderInput; checkboxGroupInput; checkboxInput; dateInput; dateRangeInput; numericInput; passwordInput; radioButtons; selectInput, selectizeInput; submitButton; textInput

Aliases
  • fileInput
Documentation reproduced from package shiny, version 0.12.2, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.