powered by
Read the value of a symbolic link
link_path(path)
A tidy path to the object the link points to.
A character vector of one or more paths.
.old_wd <- setwd(tempdir()) file_create("foo") link_create(path_abs("foo"), "bar") link_path("bar") # Cleanup file_delete(c("foo", "bar")) setwd(.old_wd)
Run the code above in your browser using DataLab