read-ini: Read INI files

Description Usage Arguments Details Value Author(s)

Description

read.ini reads ini files of the form

Usage

1
read.ini(con = stop("Connection con needed."), skip = NULL)

Arguments

con

connection or file name

skip

number of lines to skip before first [section] starts

Details

[section] key = value

into a list.

read.ini sanitizes the element names and tries to convert scalars and comma separated numeric vectors to numeric.

Value

a list with one element per section in the .ini file, each containing a list with elements for the key-value-pairs.

Author(s)

C. Beleites


hyperSpec documentation built on May 2, 2019, 5:45 p.m.