WriteTXT: save text to a file

Description Usage Arguments Details Author(s) See Also

Description

This function saves string or character matrices into a plain text file *.txt. Each row in the matrix will be saved as separate line. Each column will be saved by separating with a white space.

Usage

1
WriteTXT(FileName,Names,OutDirectory=getwd(),StrTrim=FALSE)

Arguments

FileName

string, name of file the text will be saved in

Names

a string or character matrix

OutDirectory

string, name of directory the data will be saved in, default getwd()

StrTrim

==TRUE no leading and trailing blanks are written, not implemented yet, default FALSE

Details

filename may have a *.txt extension, if not, it will be added automatically

Author(s)

databionics working group, university of marburg, germany

See Also

addext, ReadTXT


aultsch/DataIO documentation built on May 14, 2019, 10:34 p.m.