path.expand {base} | R Documentation |
Expand a path name, for example by replacing a leading tilde by the user's home directory (if defined on that platform).
path.expand(path)
path |
character vector containing one or more path names. |
On some Unix versions, a leading ~user
will expand to
the home directory of user
, but not on Unix versions without
readline
installed.
path.expand("~/foo")