Learn R Programming

OpenRepGrid (version 0.1.17)

saveAsTxt: Save grid in a text file (txt).

Description

saveAsTxt will save the grid as a .txt file in format used by OpenRepGrid. This file format can also easily be edited by hand (see importTxt() for a description).

Usage

saveAsTxt(x, file = NA)

Value

Invisibly returns the name of the file.

Arguments

x

repgrid object.

file

Filename to save the grid to. The name should have the suffix .txt.

See Also

importTxt()

Examples

Run this code
if (FALSE) {

x <- randomGrid()
saveAsTxt(x, "random.txt")
}

Run the code above in your browser using DataLab