Simple configuration file (INI) handling in R
It's easy to install using Hadley Wickham's devtools.
library(devtools)
install_github('BigelowLab/configurator')
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.