write_types {mclm}R Documentation

Write a vector of types to a text file

Description

This function writes an object of the class types to a text file. Each type is written to a separate line. The file encoding that is used is "UTF-8".

Usage

write_types(x, file, ...)

Arguments

x

Object of class types.

file

Name of the output file

...

Additional arguments (not implemented).

Value

Invisibly, x.

See Also

read_types()

Other writing functions: write_assoc(), write_conc(), write_fnames(), write_freqlist(), write_tokens(), write_txt()

Examples


types <- as_types(c("first", "second", "third"))
write_types(types, "file_with_types.txt")
types_2 <- read_types("file_with_types.txt")


[Package mclm version 0.2.7 Index]