readlink
.Symbolic links are a POSIX concept, not implemented on Windows but for most filesystems on Unix-alikes.
Sys.readlink(paths)
path.expand
.paths
. The
entries are the path of the file linked to, ""
if the path is
not a symbolic link, and NA
if there is an error (e.g., the
path does not exist).On platforms without the readlink
system call, all elements are
""
.
file.symlink
for the creation of symbolic links (and
their Windows analogues), file.info