importDataTable: Call this function in Shiny server logic to activate...

Description Usage Arguments Value

View source: R/table_import.R

Description

Call this function in Shiny server logic to activate dataTableImportWidget.

Usage

1
2
3
importDataTable(id, fileLocation = c(C_FILE_LOCATION_BOTH,
  C_FILE_LOCATION_LOCAL, C_FILE_LOCATION_SERVER), maxNumberOfLines = Inf,
  serverRootDirectories = NULL)

Arguments

id

The same ID as used in the matching call to dataTableImportWidget

fileLocation

Specify from which location the file should be selected from

maxNumberOfLines

Import at most this number of lines from the specified file

serverRootDirectories

The root directories that your app users are allowed to navigate. It must be a named vector such as c("server-dir1" = "/path/on/server/1/", "server-dir2" = "/path/on/server/2/"). This parameter will only be used when fileLocation is specified as C_FILE_LOCATION_SERVER or C_FILE_LOCATION_BOTH

Value

The imported data object as a reactive data frame


keqiang/shinywidgets documentation built on March 3, 2020, 11:56 p.m.