Skip to contents

Tool: Read a file

Usage

btw_tool_read_text_file(path, max_lines = 1000)

Arguments

path

Path to a file for which to get information. The path must be in the current working directory.

max_lines

Number of lines to include. Defaults to 1,000 lines.

Value

Returns a character vector of lines from the file.