| linkTo.GenericDataFile {R.filesets} | R Documentation |
Creates a symbolic file link to a GenericDataFile at/from a given
destination pathname.
## S3 method for class 'GenericDataFile' linkTo(this, filename=getFilename(this), path=NULL, skip=!overwrite, overwrite=FALSE, ...)
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 |
Returns a GenericDataFile (of the same class as the source file)
refering to the file via the link.
In order for this method to succeed on Windows,
the client/R session must run with sufficient privileges.
See createLink for more details.
Henrik Bengtsson
To copy a GenericDataFile, see *copyTo().
Internally createLink is used.
For more information see GenericDataFile.