View source: R/read_pdf_funs.R
| text2pdf | R Documentation |
write text to pdf file
text2pdf(txt, pdffile)
txt |
character vector with data to write to pdffile |
pdffile |
character string with name (optionally with full path) of pdf file |
text2pdf writes txt to a temporary text file with an additional line
added before and after txt with three backticks.
pandoc then considers the file as verbatim text and converts it to a pdf file
## Not run:
outfile <- "testfile.pdf"
txt <- c('en dat is één', 'en dat is twee', 'en dat is zev-e-ven')
v <- text2pdf (txt, outfile)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.