powered by
This is a helper function to split path into path and filename. Code adapted from R.utils filePath command.
splitFilePath(filepath, normalize = FALSE)
A list with elements for the directory, filename, and absolute path.
A character string of the file path
if (FALSE) { splitFilePath("dir1/subdir1/mplus1.inp") }
Run the code above in your browser using DataLab