popTemporaryFile | R Documentation |
Drops a temporary suffix from the temporary pathname and, by default, renames an existing temporary file accordingly.
## Default S3 method:
popTemporaryFile(filename, path=NULL, suffix=".tmp", isFile=TRUE, ..., verbose=FALSE)
filename |
The filename of the temporary file. |
path |
The path of the temporary file. |
suffix |
The suffix of the temporary filename to be dropped. |
isFile |
If |
... |
Not used. |
verbose |
A |
If isFile
is FALSE
, the pathname where the suffix of the
temporary pathname has been dropped is returned.
If isFile
is TRUE
, the temporary file is renamed.
Then, if the temporary file does not exists or it was not successfully
renamed, an exception is thrown.
Returns the pathname with the temporary suffix dropped.
Henrik Bengtsson
See pushTemporaryFile
() for more details and an example.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.