Description Usage Arguments Details Value Author(s) Examples
You can alternatively use this function for choosing *.csv, *.txt, *.xlsx, *.sav (SPSS) files in an interactive GUI mode A file choose dialog box will be prompted.
1 |
... |
Any arguments available for read.csv(), read.table(), readxl::read_excel(), foreign::read.spss() functions; file will be automatically chosen once you pick up your file using the file chooser dialog box. |
chooseFile
See example below.
A character value of the file path will be returned.
JooYoung Seo (jooyoung@psu.edu)
1 2 3 | data <- chooseFile(header=T)
str(data)
# You can drop off your file using the file picker dialog box.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.