Learn R Programming

eoffice (version 0.2.2)

inoffice: read tables from ppt and word

Description

read tables from ppt and word

Usage

inoffice(filename, format = NULL, header = TRUE)

Arguments

filename

input filename

format

pptx or docx

header

use first row as column name

Author

Kai Guo

Examples

Run this code
## 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