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.


sourcetools documentation built on Feb. 16, 2023, 5:09 p.m.