getWritablePathname.Arguments
From R.utils v1.6.2
by Henrik Bengtsson
Gets a writable pathname
Gets a writable pathname.
Usage
Arguments$getWritablePathname(..., mustExist=FALSE, mustNotExist=FALSE, mkdirs=TRUE)
Arguments
- ...
- Arguments passed to
*getReadablePathname()
. - mustExist
- If
TRUE
and the pathname does not exists, an Exception is thrown, otherwise not. - mustNotExist
- If the file exists, and
mustNotExist
isTRUE
, an Exception is thrown. If the file exists, andmustNotExist
isFAL
- mkdirs
- If
TRUE
,mustNotExist
isFALSE
, and the path to the file does not exist, it is (recursively) created.
Value
synopsis
getWritablePathname.Arguments(static, ..., mustExist=FALSE, mustNotExist=FALSE, mkdirs=TRUE)
Missing values
If any argument in ...
is NA
, an exception is thrown.
See Also
*getReadablePathname()
.
filePath
.
mkdirs
.
For more information see Arguments
.
Community examples
Looks like there are no examples yet.