add_to_file: Add text to a file.

Description Usage Arguments Value Author(s) Examples

View source: R/add_to_file.R

Description

Adds the given text to the chosen file.

Usage

1
add_to_file(text, file_path, append = TRUE)

Arguments

text

The text to be added. Type = character

file_path

The path to the file you want to write in. Type = character

append

Do you want to append (TRUE) or erase (FALSE), default is TRUE. Type = logical

Value

Does not return anything.

Author(s)

Briac LE RAY (briac.leray@partnre.com)

Examples

1
add_to_file(text = "I want this text in my file.", file_path = "/path/to/the/file/file_name.extension", append = TRUE)

Tiipiac/StressTestOptimization documentation built on Dec. 18, 2021, 5:08 p.m.