write_textfile: write_textfile

Description Usage Arguments Examples

View source: R/misc.R

Description

Write a variable with one or more character strings to a text file taken from this stackoverflow answer http://stackoverflow.com/a/2470277/718150

Usage

1
write_textfile(myvar, myfilename)

Arguments

myvar

Variable that holds character string data

myfilename

string Name of the file

Examples

1
2
3
4
## Not run: 
 write_textfile(mydata, "myfile.txt")

## End(Not run)

smach/rmiscutils documentation built on Dec. 15, 2021, 1:49 a.m.