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)

hbelbo/stanfordclassicr documentation built on Dec. 23, 2024, 2:45 p.m.