createTempFile.File: Creates a temporary file name

Description Usage Arguments Value Author(s) See Also

Description

Creates a temporary file name and returns it as a File object. Note that neither the file is created nor is its file name reserved on the file system, i.e. other applications might use the same file name as long as the file is not created. The chance that [R] will use the same file name is low, though. For more information see tempfile().

Usage

1
File$createTempFile(prefix="file", suffix=".tmp", directory=NULL, ...)

Arguments

prefix

a character string specifying the suffix of the name.

suffix

a character string specifying the suffix of the name.

Value

Returns File object, which specifies a temporary file name.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

Internally tempfile() is used. For more information see File.


HenrikBengtsson/R.io documentation built on May 6, 2019, 11:54 p.m.