Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

read-ini

Read INI files


Description

read.ini reads ini files of the form

Usage

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

Arguments

con

connection or file name

skip

number of lines to skip before first [section] starts

encoding

see readLines

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

Work with Hyperspectral Data, i.e. Spectra + Meta Information (Spatial, Time, Concentration, ...)

v0.100.0
GPL (>= 3)
Authors
Claudia Beleites [aut, cre, dtc] (<https://orcid.org/0000-0003-1626-154X>), Valter Sergo [aut], Alois Bonifacio [ctb, dtc], Marcel Dahms [ctb], Björn Egert [ctb], Simon Fuller [ctb], Vilmantas Gegzna [ctb], Rustam Guliev [ctb], Bryan A. Hanson [ctb], Michael Hermes [ctb], Martin Kammer [dtc], Roman Kiselev [ctb], Sebastian Mellor [ctb]
Initial release
2021-09-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.