insert: Insert New Line

Description Usage Arguments

View source: R/other.R

Description

Inserts a new line of text into an existing file at a specified breakpoint.

Usage

1
insert(file, after, what)

Arguments

file

A character string. The text file to modify.

after

A character string. A fragment of existing text that marks the line after which to insert the new text.

what

A character string. The new text to insert.


tpq/miSciTools documentation built on Sept. 16, 2019, 4:43 p.m.