rchoose.files | R Documentation |
Provides the same functionality as choose.files from the utils package for Windows, but is intended to be system independent.
rchoose.files(default = getwd(), caption = "Select files", multi = TRUE, filters = getDefaultFilters(), index = nrow(filters))
default |
Which filename or directory to show initially. Default is current work directory. |
caption |
The caption on the file selection dialog |
multi |
Whether to allow multiple files to be selected |
filters |
A matrix of filename filters. If NULL, all files are shown. Default is filters=getDefaultFilters(). |
index |
Which row of filters to use by default. |
A character vector giving zero or more file paths. If user cancels operation, character(0) is returned.
Alex Lisovich, Roger Day
getDefaultFilters
,
jchoose.files
,
tkchoose.files
, canUseJava
,
canUseTclTk
## Not run: rchoose.files(); ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.