Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

renameTo.GenericDataFile

Renames/moves a file


Description

Renames/moves a file.

Usage

## S3 method for class 'GenericDataFile'
renameTo(this, filename=getFilename(this), path=NULL, ..., verbose=FALSE)

Arguments

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 renameFile.

verbose

...

Value

Returns the source GenericDataFile.

Author(s)

Henrik Bengtsson

See Also

Internally renameFile. *copyTo(). For more information see GenericDataFile.


R.filesets

Easy Handling of and Access to Files Organized in Structured Directories

v2.14.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.