Skip to contents

This function returns the absolute path of the input path, similar to the behavior of Python's pathlib.Path.resolve() or pathlib.Path.absolute() methods.

Usage

Path_absolute(paths)

Arguments

paths

A character vector of file paths.

Value

A character vector containing the absolute paths.

Examples

if (FALSE) {
Path_absolute("relative/path/to/file.txt")
}