tmpfile

0th

Percentile

Creates a temporary file with content

Creates a temporary file with content that will auto delete as soon as there is no longer any references to it.

Keywords
internal, file, programming
Usage
tmpfile(content=NULL, ...)
Arguments
content

A character string to be written to the file.

...

Optional arguments passed to tempfile().

Value

The absolute pathname to the temporary file.

See Also

tempfile().

Aliases
  • tmpfile
Examples
# NOT RUN {
  md5 <- tools::md5sum(tmpfile("Hello world!"))
  print(md5)
# }
Documentation reproduced from package R.utils, version 2.8.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.