1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% isDirectory.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{isDirectory}
\alias{isDirectory.default}
\alias{isDirectory}
\title{Checks if the file specification is a directory}
\description{
Checks if the file specification is a directory.
}
\usage{
\method{isDirectory}{default}(pathname, ...)
}
\arguments{
\item{pathname}{A \code{\link[base]{character}} string of the pathname to be checked.}
\item{...}{Not used.}
}
\value{
Returns \code{\link[base:logical]{TRUE}} if the file specification is a directory, otherwise
\code{\link[base:logical]{FALSE}} is returned.
}
\section{Symbolic links}{
This function follows symbolic links (also on Windows) and returns a
value based on the link target (rather than the link itself).
}
\author{Henrik Bengtsson}
\seealso{
To check if it is a file see \code{\link{isFile}}().
Internally \code{\link[base]{file.info}}() is used.
See also \code{\link[utils]{file_test}}.
}
\keyword{IO}
\keyword{programming}
|