write_encoding: Write encodings to a file

View source: R/write_enc.R

write_encodingR Documentation

Write encodings to a file

Description

Saves a list of encodings (or a single encoding to the file).

Usage

write_encoding(x, file = "")

Arguments

x

encoding or list of encodings.

file

ither a character string naming a file or a connection open for writing. "" indicates output to the console.

Examples

aa1 = list(`1` = c("g", "a", "p", "v", "m", "l", "i"), 
           `2` = c("k", "h"), 
           `3` = c("d", "e"), 
           `4` = c("f", "r", "w", "y", "s", "t", "c", "n", "q"))
write_encoding(aa1)


michbur/biogram documentation built on Feb. 4, 2024, 6:38 p.m.