| getWritablePathname.Arguments {R.utils} | R Documentation |
Gets a writable pathname.
Arguments$getWritablePathname(..., mustExist=FALSE, mustNotExist=FALSE, mkdirs=TRUE)
... |
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 is
TRUE, an Exception is thrown. If the file exists, and
mustNotExist is FALSE, or the file does not exists, the
pathname is accepted. |
mkdirs |
If TRUE, mustNotExist is FALSE, and the path to
the file does not exist, it is (recursively) created. |
Returns a character string of the pathname of the file.
If the argument was invalid an Exception is thrown.
Henrik Bengtsson (http://www.braju.com/R/)
*getReadablePathname().
filePath.
mkdirs.
For more information see Arguments.