renameTo.GenericDataFile | R Documentation |
Renames/moves a file.
## S3 method for class 'GenericDataFile'
renameTo(this, filename=getFilename(this), path=NULL, ..., verbose=FALSE)
filename , path |
The filename and the path for the destination file. The default is to use the same filename as the source file. The destination pathname must not be the same as the source file, otherwise an exception is thrown. |
... |
Additional arguments passed to |
verbose |
... |
Returns the source GenericDataFile
.
Henrik Bengtsson
Internally renameFile
.
*copyTo()
.
For more information see GenericDataFile
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.