iniParse: Parse an Windows like ini file to get the the entries

Description Usage Arguments Value Author(s) References Examples

Description

Any Windows type ini file will be parsed so that the sections and the variables may be used within R for all kind of settings.

Usage

1
iniParse(fname.control)

Arguments

fname.control

file name of control input file

Value

iniParse returns a list ordered by sections variablenames and values

Author(s)

Gabor Grothendieck <ggrothendieck at gmail.com>,
Maintainer: Chris Reudenbach giswerk@gis-ma.org

References

http://moc.environmentalinformatics-marburg.de/doku.php?id=courses:msc:advanced-gis:description https://stat.ethz.ch/pipermail/r-help/2007-June/134115.html

Examples

1
2
3
4
5
6
  
#### Example to parse an windows type of ini file
#### create a list for each ini section containing the variables and params
      
ini.example=system.file("demo.ini", package="Rpeak")
iniParse(ini.example)

gisma/perfectPeak documentation built on May 17, 2019, 5:27 a.m.