The function searches for a file in the downloads folder and returns the file, provided it is in a readable Excel- or data format.
Downloads(fname, ...)
the filename, if no extension specified the first file found will be used.
are passed on to the open functions
readxl
() or read_table()
.
the file
if (FALSE) { # \dontrun{
Downloads("yourfilename")
Downloads("yourfilename.xls")
Downloads("yourfilename.txt", sep=",", header=TRUE)
} # }