powered by
Get full path from a file.
read_from_dir(file, path = NULL)
The file name.
The file location.
read_from_dir returns an object of class character with the normalizaed path for a file.
read_from_dir
# NOT RUN { file.create("test_file.txt") read_from_dir("test_file.txt") # } # NOT RUN { # }
Run the code above in your browser using DataLab