linkOrCopy {Require} | R Documentation |
Create link to file, falling back to making a copy if linking fails.
Description
First try to create a hardlink to the file. If that fails, try a symbolic link (symlink) before falling back to copying the file. "File" here can mean a file or a directory.
Usage
linkOrCopy(from, to, allowSymlink = FALSE)
fileRenameOrMove(from, to)
Arguments
from , to |
character vectors, containing file names or paths. |
allowSymlink |
Logical. If |
[Package Require version 1.0.0 Index]