Description Usage Arguments Value Note Author(s) Examples
is the file a symbolic link?
1 |
f |
the path to file name(s) |
a logical vector
This only works on unix-alikes, ie not windows.
Mark Cowley, 2012-07-16
1 2 3 4 5 6 7 | f1 <- tempfile()
writeLines(letters, f1)
f2 <- tempfile()
file.symlink(f1, f2)
file.issymlink(c(f1, f2))
# [1] FALSE TRUE
unlink(c(f1, f2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.