path.expand

0th

Percentile

Expand File Paths

Expand a path name, for example by replacing a leading tilde by the user's home directory (if defined on that platform).

Keywords
file
Usage
path.expand(path)
Arguments
path
character vector containing one or more path names.
basename, normalizePath.
library(base) path.expand("~/foo")