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)



antaresRead documentation built on Oct. 10, 2022, 9:07 a.m.