Difference between revisions of "R: readtext"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "Di Shell # untuk readtext (antiword dan pdftools) sudo apt-get install libapparmor-dev libpoppler-cpp-dev Install install.packages("readtext") library(readtext) DATA_D...") |
Onnowpurbo (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
DATA_DIR <- system.file("extdata/", package = "readtext") | DATA_DIR <- system.file("extdata/", package = "readtext") | ||
− | + | Read PDF | |
isi_pdf <- readtext("filename.pdf") | isi_pdf <- readtext("filename.pdf") |
Latest revision as of 09:38, 6 November 2018
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")