dot-writeIni: Write ini file from list obtain by antaresRead::readIniFile...

.writeIniR Documentation

Write ini file from list obtain by antaresRead::readIniFile and modify by user

Description

Write ini file from list obtain by antaresRead::readIniFile and modify by user

Usage

.writeIni(listData, pathIni, overwrite = FALSE)

Arguments

listData

list, modified list obtained by antaresRead::readIniFile.

pathIni

Character, Path to ini file.

overwrite

logical, should file be overwritten if already exist?

Examples


## Not run: 
pathIni <- "D:/exemple_test/settings/generaldata.ini"
generalSetting <- antaresRead::readIniFile(pathIni)
generalSetting$output$synthesis <- FALSE
writeIni(generalSetting, pathIni)

## End(Not run)


rte-antares-rpackage/antaresRead documentation built on Nov. 22, 2024, 11:20 a.m.