Rev 50848 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/base/man/file.info.Rd% Part of the R package, http://www.R-project.org% Copyright 2009 R Core Development Team% Distributed under GPL 2 or later\name{Sys.readlink}\alias{Sys.readlink}\title{Read File Symbolic Links}\description{Find out if a file path is a symbolic link, and if so what it islinked to, \emph{via} the system call \code{readlink}.Symbolic links are a Unix concept, not implemented on Windows.}\usage{Sys.readlink(paths)}\arguments{\item{paths}{character vector of file paths.}}\value{A character vector of the the same length as \code{paths}. Theentries are the path of the file linked to, \code{""} if the path isnot a symbolic link, and \code{NA} if there is an error (e.g., thepath does not exist).}\seealso{\code{\link{file.symlink}}, \code{\link{file.info}}}\keyword{file}