getFilename.Arguments
From R.utils v1.19.3
by Henrik Bengtsson
Gets and validates a filename
Gets and validates a filename.
Usage
Arguments$getFilename(filename, nchar=c(1, 128), class=c("safe"), .name=NULL, .type="filename", ...)
Arguments
Details
When argument class="safe"
, the following 86 ASCII characters
are allowed in filenames:
#$ @ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_ (31)
`abcdefghijklmnopqrstuvwxyz{|}~ (31)
This class of filenames has been extensively tested on for
cross-platform support on Microsoft Windows, OSX and various
Unix flavors.
Value
- Returns a
character
string if filename is valid, otherwise an exception is thrown.
synopsis
getFilename.Arguments(static, filename, nchar=c(1, 128), class=c("safe"), .name=NULL, .type="filename", ...)
References
[1] Microsoft, Naming Files, Paths, and Namespaces (Section 'Windows Naming Conventions'), 2012.
See Also
For more information see Arguments
.
Community examples
Looks like there are no examples yet.