Learn R Programming

eoffice (version 0.1.6)

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

Examples

Run this code
# NOT RUN {
## use tempdir for the example
totable(t.test(wt ~ am, mtcars), filename = file.path(tempdir(), "mtcars.pptx"))
tabs <- inoffice(filename = file.path(tempdir(), "mtcars.pptx"), header = TRUE)
tabs
# }

Run the code above in your browser using DataLab