Debian Codegraph @

man/file_string.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/io.R
3 \name{file_string}
4 \alias{file_string}
5 \title{Read a text file and concatenate the lines by \code{'\\n'}}
6 \usage{
7 file_string(file)
8 }
9 \arguments{
10 \item{file}{Path to a text file (should be encoded in UTF-8).}
11 }
12 \value{
13 A character string of text lines concatenated by \code{'\\n'}.
14 }
15 \description{
16 The source code of this function should be self-explanatory.
17 }
18 \examples{
19 xfun::file_string(system.file("DESCRIPTION", package = "xfun"))
20 }