Learn R Programming

rrtable (version 0.1.0)

Rcode2flextable: Make a flextable object with character strings encoding R code

Description

Make a flextable object with character strings encoding R code

Usage

Rcode2flextable(result, preprocessing = "", format = "pptx", eval = TRUE)

Arguments

result

character strings encoding R code

preprocessing

character strings encoding R code as a preprocessing

format

desired format. choices are "pptx" or "docx"

eval

logical. Whether or not evaluate the code

Examples

Run this code
# NOT RUN {
Rcode2flextable("str(mtcars)\nsummary(mtcars)",eval=FALSE)
# }

Run the code above in your browser using DataLab