inoffice {eoffice} | R Documentation |
read tables from ppt and word
inoffice(filename, format = NULL, header = TRUE)
filename |
input filename |
format |
pptx or docx |
header |
use first row as column name |
Kai Guo
## use tempdir for the example
totable(t.test(wt ~ am, mtcars), filename = file.path(tempdir(), "mtcars.docx"))
tabs <- inoffice(filename = file.path(tempdir(), "mtcars.docx"), header = TRUE)
tabs