write.list: Write Lists to External File

View source: R/Utility_functions.R

write.listR Documentation

Write Lists to External File

Description

Takes a list and outputs the contents into multiple text files.

Usage

write.list(x, dir, sep = "NULL")

Arguments

x

The list to be written.

dir

Character, directory to which the list will be written.

sep

Character, the separator to use for text delimitation.

Details

Takes the contents of a list and writes them as separate files into the chosen directory. If a list is nested inside a list, creates a new directory and writes the contents as separate files. NOTE: only works with a single nesting. Multiple nestings will bring an error.


trevorjwilli/CommSimABCR documentation built on Feb. 4, 2025, 1:22 a.m.