write_lines: Write lines at a specific location in a file

View source: R/utils_file_io.R

write_linesR Documentation

Write lines at a specific location in a file

Description

Write lines at a specific location in a file

Usage

write_lines(file, ..., after = "end")

Arguments

file

chr path to file

...

chr lines to write

after

num/chr either a line number of "end" to write it at the end

Value

the resulting file

See Also

Other file IO: col_types(), dep_read(), dep_write(), dir_fn(), dirs, ext(), file_fn(), is_filepath(), last_updated(), list.files2(), load_obj(), make_names(), mkpath(), move_files_to_folder(), needs_update(), object_fn(), object_write(), package_size(), write_dir_fn()


yogat3ch/UU documentation built on May 31, 2024, 10:14 p.m.