powered by
Check for files existence and prompt user if they want to load
checkFile(file)
a boolean indicating wether a file was found and the user wants to load or not
the full path of the file to check
if (FALSE) { checkFile("path/to/newfile.csv") }
Run the code above in your browser using DataLab