File: nullfile.Rd

package info (click to toggle)
r-cran-r.utils 2.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,864 kB
  • sloc: sh: 18; makefile: 6
file content (42 lines) | stat: -rw-r--r-- 1,069 bytes parent folder | download | duplicates (4)
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}