Choose a file interactively.
file.choose(new=FALSE)
new
A character vector of length one giving the file path.