# \donttest{
if(interactive()) {
#all of these require interactive input and thus are not given as examples
fileCreate("my.new.file.txt")
filesList() #show the items in the directory where a file is displayed
fileScan() #show the content of the files in a directory
#or, if you have a file in mind
f <- file.choose() #go find it
filesList(f)
fileScan(f)
}
# }
Run the code above in your browser using DataLab