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

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)
#> ID: #> SG:1;4;3;3;4;1;2;1;2;1;1;4;1;4;4;4;4;1;4;4 #> EL:a;c;d;e;f;g;h;i;k;l;m;n;p;q;r;s;t;v;w;y