read: Read the Contents of a File

View source: R/sourcetools.R

readR Documentation

Read the Contents of a File

Description

Read the contents of a file into a string (or, in the case of read_lines, a vector of strings).

Usage

read(path)

read_lines(path)

read_bytes(path)

read_lines_bytes(path)

Arguments

path

A file path.


kevinushey/sourcetools documentation built on June 14, 2025, 8:55 a.m.