"createLink"(link=".", target, skip=!overwrite, overwrite=FALSE, methods=getOption("createLink/args/methods", c("unix-symlink", "windows-ntfs-symlink", "windows-shortcut")), ...)
"."
(or NULL
), it is inferred from the
target
argument, if possible.TRUE
and a file with the same name as argument
link
already exists, then the nothing is done.TRUE
, an existing link file is overwritten,
otherwise not.NULL
is returned.
method="unix-symlink"
(utilizing
file.symlink()
),
method="windows-ntfs-symlink"
(utilizing executable mklink
),
and/or method="windows-shortcut"
(utilizing
createWindowsShortcut
()) to succeed on Windows,
the client/R session must run with sufficient privileges
(it has been reported that Administrative rights are necessary).createWindowsShortcut
() and
file.symlink()