Description Usage Arguments Value Author(s) See Also Examples
View source: R/read.properties.R
Read a Java Properties File for Use in RSB Applications
1 | read.properties(file, fields = NULL, encoding = "UTF-8")
|
file |
properties file, either a character string (path) or a connection |
fields |
subset of field names, if NULL, all fields are included |
encoding |
encoding of the properties file to read (default value |
list with key-value pairs
Tobias Verbeke, Daan Seynaeve
write.properties
for writing properties files
1 2 | tf <- system.file("testFiles", "test0.properties", package = "properties")
read.properties(tf, fields = c("key2", "key3"))
|
$key2
[1] "value2"
$key3
[1] "value3"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.