Description Usage Arguments Value Author(s) Examples
A graphical user interface (GUI) for selecting files to open or save.
1 2 3 |
cmd |
character.
Specifies whether an |
file |
character.
File name that the data are to be read from.
Alternatively, |
exts |
character. Vector of default file extensions. |
initialdir |
character. Files in this directory will be displayed in the dialog box. |
initialfile |
character. File name to display in the dialog box. |
defaultextension |
character. String appended to the file name if the user enters a file name without an extension. |
win.title |
character. String to display as the title of the dialog box. |
multi |
logical. If true, multiple files may be selected. |
parent |
tkwin. GUI parent window |
If multi
is false, returns the file path as a character object with the following attributes:
directory |
directory containing the file |
name |
file name |
extension |
file extension |
type |
file type |
Otherwise, a list is returned containing a object of class character for each file.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
1 2 3 4 | ## Not run:
GetFile()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.