Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 

README.md

configurator

Simple configuration file (INI) handling in R

Installation

It's easy to install using Hadley Wickham's devtools.

library(devtools)
install_github('BigelowLab/configurator')

Usage

# read the example
Cfg <- Configurator(system.file("extdata", "example.cfg", package = "configurator"))
# show it
Cfg
[Foo]
Friday=yeah!
time=lunch
[Bar]
dog=Spike    
fleas=31000
state=sleeping
# get an item
n_fleas <- as.numeric(Cfg$get("Bar", "fleas", default = 0))
n_fleas

About

Simple configuration file (INI) handling in R

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.