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

View source: R/add_Rcode.R

Rcode2flextableR Documentation

Make a flextable object with character strings encoding R code

Description

Make a flextable object with character strings encoding R code

Usage

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

Arguments

result

character strings encoding R code

format

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

eval

logical. Whether or not evaluate the code

Examples

Rcode2flextable("str(mtcars)\nsummary(mtcars)",eval=FALSE)

rrtable documentation built on April 5, 2022, 9:08 a.m.