inoffice {eoffice}R Documentation

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(s)

Kai Guo

Examples

## 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

[Package eoffice version 0.2.2 Index]