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
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% nullfile.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{nullfile}
\alias{nullfile}
\alias{nullcon}
\title{Gets the pathname or a connection to the NULL device on the current platform}
\description{
Gets the pathname or a connection to the NULL device on the current platform.
}
\usage{
nullfile()
nullcon()
}
\value{
\code{nullfile()} returns a \code{\link[base]{character}} string, which is \code{"/dev/null"}
except on Windows where it is \code{"nul:"}.
\code{nullcon()} returns a \emph{newly opened} (binary) \code{\link[base:connections]{connection}} to
the NULL device - make sure to close it when no longer needed.
}
\seealso{
In R (>= 3.6.0), there exists \code{base::nullfile()}, which is
identical to \code{R.utils::nullfile()}.
}
\author{Henrik Bengtsson}
\keyword{programming}
\keyword{file}
|