powered by
Gets the pathname or a connection to the NULL device on the current platform.
nullfile() nullcon()
nullfile() returns a character string, which is "/dev/null"
nullfile()
character
"/dev/null"
except on Windows where it is "nul:".
"nul:"
nullcon() returns a newly opened (binary) connection to the NULL device - make sure to close it when no longer needed.
nullcon()
connection
Henrik Bengtsson
In R (>= 3.6.0), there exists base::nullfile(), which is identical to R.utils::nullfile().
base::nullfile()
R.utils::nullfile()