powered by
read tables from ppt and word
inoffice(filename, format = NULL, header = TRUE)
input filename
pptx or docx
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
Run the code above in your browser using DataLab