chooseFile: Convenient function for choosing CSV data file using...

Description Usage Arguments Details Value Author(s) Examples

Description

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.

Usage

1

Arguments

...

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.

Details

chooseFile

See example below.

Value

A character value of the file path will be returned.

Author(s)

JooYoung Seo (jooyoung@psu.edu)

Examples

1
2
3
data <- chooseFile(header=T)
str(data)
# You can  drop off your file using the file picker dialog box.

sjystu/Kayla documentation built on May 26, 2019, 4:33 a.m.