powered by
A wrapper for striprtf::read_rtf() to read RTFs
striprtf::read_rtf()
read_rtf(file, skip = 0, remove.empty = TRUE, trim = TRUE, ...)
A path to a RTF file.
The number of lines to skip.
logical. If TRUE empty elements in the vector are removed.
TRUE
logical. If TRUE the leading/training white space is removed.
Other arguments passed to striprtf::read_rtf().
Returns a character vector.
# NOT RUN { rtf_dat <- read_rtf( 'https://raw.githubusercontent.com/trinker/textreadr/master/inst/docs/trans7.rtf' ) # }
Run the code above in your browser using DataLab