file2strng: Read the content of a stanford classic text file and return...

View source: R/sfclassic_general.R

file2strngR Documentation

Read the content of a stanford classic text file and return the content as a text string

Description

Read the content of a stanford classic text file and return the content as a text string

Usage

file2strng(filename)

Arguments

filename

Is the name of the stanford classic text file to read

Value

a string

Examples

tmp <- tempfile()
x <- "stanford classic is fun"
readr::write_file(x, tmp)
file2strng(tmp)

helmerbelbo/stanfordclassicr documentation built on March 5, 2025, 10:24 a.m.