Description Usage Arguments Details Value Author(s) See Also
Gets the absolute pathname string.
1 2 | ## S3 method for class 'File'
getAbsolutePath(this, expandShortcuts=this$expandShortcuts, ...)
|
expandShortcuts |
If |
If expandShortcuts==TRUE
, each component, call it parent, in
the absolute path is processed from the left to the right as follows:
1. If a "real" directory of name parent exists, it is followed.
2. Otherwise, if Microsoft Windows Shortcut file with name
parent.lnk exists, it is read. If its local target exists, that
is followed, otherwise its network target is followed.
3. If no valid existing directory was found in (1) or (2), the expanded
this far followed by the rest of the pathname is returned quietly.
4. If all of the absolute path was expanded successfully the expanded
absolute path is returned.
Returns a character
string of the absolute pathname.
Henrik Bengtsson (http://www.braju.com/R/)
For more information see File
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.