# NOT RUN {
# name of most recently modified file
# }
# NOT RUN {
.findFile() # current directory
.findFile("..") # one directory up
.findFile("c:/") # c root directory
#
# list of files and common attributes one directory up
findFile(folder="..", file="*.*", n=2, fileNameOnly=FALSE) #two most recent files
findFile(folder="..", file="*.*", n="all", fileNameOnly=FALSE) #all files
# }
Run the code above in your browser using DataLab