System$parseDebian
From R.utils v2.10.1
by Henrik Bengtsson
Parses a string, file or connection for Debian formatted parameters
Parses a text, file or a connection for Debian formatted parameters.
A file in Debian format contains rows with parameters of the form
KEY=VALUE
. It is allowed to have duplicated keys.
Usage
## Static method (use this):
## System$parseDebian(text=NULL, file=NULL, keys=NULL, ...)## Don't use the below:
# S3 method for System
parseDebian(this, text=NULL, file=NULL, keys=NULL, ...)
Arguments
Value
Returns a named list
of parameter values.
See Also
For more information see System
.
Examples
# NOT RUN {
file <- file.path(Package("R.utils")$path, "DESCRIPTION")
l <- System$parseDebian(file=file)
print(l)
# }
Community examples
Looks like there are no examples yet.