Arguments$getReadablePathname | R Documentation |
Gets a readable pathname.
## Static method (use this):
## Arguments$getReadablePathname(file=NULL, path=NULL, mustExist=TRUE, absolute=FALSE,
## adjust=c("none", "url"), ...)
## Don't use the below:
## S3 method for class 'Arguments'
getReadablePathname(static, file=NULL, path=NULL, mustExist=TRUE, absolute=FALSE,
adjust=c("none", "url"), ...)
file |
A |
path |
A |
mustExist |
If |
absolute |
If |
... |
Not used. |
Returns a character
string of the absolute pathname of the file.
If file
or path
is NA
and mustExist
is FALSE
,
then (character) NA
is returned, otherwise an exception is thrown.
If a too long pathname is detected on Windows, an informative warning is given. The maximum number of symbols in a Windows pathname is 256, including file separators '/' or '\', but excluding the drive letter, and initial file separator (e.g. 'C:/'), and the string terminator ('\0'), cf. 'MSDN - Naming a File or Directory', Microsoft. In R, the limit is one symbol less, i.e. 255.
Henrik Bengtsson
*getWritablePathname()
filePath
.
For more information see Arguments
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.