# NOT RUN {
## Create a new temp ini for writing
iniFile <- tempfile(fileext = '.ini')
## Create a new list holding our INI
newini <- list()
newini[[ "Hello World" ]] <- list(Foo = 'Bar')
## Write structure to file
write.ini(newini, iniFile)
## Check file content
# }
# NOT RUN {
file.show(iniFile)
# }
# NOT RUN {
# }
Run the code above in your browser using DataCamp Workspace