Learn R Programming

eoffice (version 0.2.2)

totable: write table out to pptx or docx

Description

write table out to pptx or docx

Usage

totable(data, filename, format = NULL, append = FALSE)

Arguments

data

datasets

filename

output filename

format

pptx or docx

append

append into file

Author

Kai Guo

Examples

Run this code
tt <- t.test(wt ~ am, mtcars)
totable(tt, filename = file.path(tempdir(), "mtcars.pptx"))
totable(t.test(wt ~ am, mtcars), filename = file.path(tempdir(), "mtcars.pptx"))
totable(head(mtcars), filename = file.path(tempdir(), "mtcars.docx"))

Run the code above in your browser using DataLab