[R] Parsing configuration files

Gabor Grothendieck ggrothendieck at gmail.com
Mon May 18 15:34:24 CEST 2009


This isn't secure but if its just for yourself and friends you could provide
them in R source form, e.g.

# my config.ini file
a = "abc"
b = 12
x = "d"

in which case reading them is just a matter of source("config.ini")
or possibly source("config.ini", local = TRUE)



On Mon, May 18, 2009 at 6:10 AM, Marie Sivertsen <mariesivert at gmail.com> wrote:
> Dear list,
>
> Is there any functionality in R that would allow me to parse config files?
> I have trie ??config and apropos('config') without succes, and also search
> the R package site.
>
> Mvh.
> Marie
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list