powered by
The function takes a nested list of values and writes it to a dat file (a Windows style .ini-file).
write_dat(x, filename, overwrite = FALSE)
List containing the data to be written.
String file path.
Logical indicating whether the file should be overwritten.
Invisible null.
# NOT RUN { # } # NOT RUN { dat <- list("Settings" = list("removal_rule" = 1, use_groups = 1)) write_dat(dat, "settings.dat") # } # NOT RUN { # }
Run the code above in your browser using DataLab