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]]
__
Marie Sivertsen wrote:
Dear list,
Is there any functionality in R that would allow me to parse config files?
Which kind of config files? R has read.dcf, for example.
Uwe Ligges
I have trie ??config and apropos('config') without succes, and also search
the R package site.
Mvh.
Marie
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.htmlhttp://www.r-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
There are regular expressions that can be used. It is very dependent upon
the format of a configuration file;
Uwe Ligges wrote:
Marie Sivertsen wrote:
Dear list,
Is there any functionality in R that would allow me to parse config
files?
Which kind of config files? R has read.dcf, for example.
indeed, there are quite a number of more or less unambiguously specified
configuration file formats.
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,
5 matches
Mail list logo