powered by
list.files()
This function is a slightly friendlier version of list.files in that it automatically includes the full.names=TRUE argument.
list.files
full.names=TRUE
listFiles(x, ...)
Character.
Path name of folder containing files to list.
Arguments to pass to list.files (other than full.names).
full.names
# list files in location where R is installed listFiles(R.home()) listFiles(R.home(), pattern='README')
Run the code above in your browser using DataLab