realFile | R Documentation |
Given a path, there are some file operations where we want to be sure we're dealing with the real file, and not a symlink to it. For a vector of paths, this function follows any symlinks along each path, returning the ultimate normal file or directory as a target.
realFile(path)
paths |
character vector of paths |
character value of the same length as path
, with any
symlinks followed so that each item returned is a path to a
normal file or folder. For any item in path
which
doesn't exist, or for which the last symlink target doesn't exist,
or for which there is a symlink loop, returns NA
.
John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.