Learn R Programming

FIACH (version 0.1.2)

selectR: Interactive File Selector

Description

This function allows for interactive file selection using regular expressions.

Usage

selectR(update=TRUE)

Arguments

update
logical indicating whether or not the working directory should be changed to the current selected directory. This means that if this function is called a second time it will initiate in the directory it was in when previously called.

Value

Returns a character vector of file paths. If no files are selected this will still be a character vector but will have length = 0. This function does not work well with network drives. If network drives are found this function initiates at the drive select section.

Examples

Run this code
 ## Not run: 
# selectR()
# ## End(Not run)

Run the code above in your browser using DataLab