R: readtext

From OnnoWiki
Revision as of 09:38, 6 November 2018 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Di Shell

# untuk readtext (antiword dan pdftools)
sudo apt-get install libapparmor-dev libpoppler-cpp-dev

Install

install.packages("readtext")
library(readtext)
DATA_DIR <- system.file("extdata/", package = "readtext")

Read PDF

 isi_pdf <- readtext("filename.pdf")


Pranala Menarik