linkTo.GenericDataFile {R.filesets} | R Documentation |
Creates a symbolic file link
Description
Creates a symbolic file link to a GenericDataFile
at/from a given
destination pathname.
Usage
## S3 method for class 'GenericDataFile'
linkTo(this, filename=getFilename(this), path=NULL, skip=!overwrite, overwrite=FALSE,
...)
Arguments
filename , path |
The filename and the path for the link. The default is to use the same filename as the source file. |
skip |
If |
overwrite |
If |
... |
Additional arguments passed to |
Value
Returns a GenericDataFile
(of the same class as the source file)
referring to the file via the link.
Required privileges on Windows
In order for this method to succeed on Windows,
the client/R session must run with sufficient privileges.
See createLink
for more details.
Author(s)
Henrik Bengtsson
See Also
To copy a GenericDataFile
, see *copyTo()
.
Internally createLink
is used.
For more information see GenericDataFile
.