powered by
Returns the names of the R source files in a directory, by default the current working directory.
localRFiles(directory = getwd(), suffix = "[.][RSq]$", ask = FALSE)
Where to look, by default the directory in which R is currently running
Regular expression to identify R source files.
If TRUE, uses the menu function to prompt the user for one of the local R files or to enter a file name.
TRUE
The character vector of matching file names.
menuRFile
# NOT RUN { ## all the example files for this package localRFiles(system.file("R-ex",package="SoDA")) # }
Run the code above in your browser using DataLab