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)

cardiomoon/rrtable documentation built on March 14, 2023, 10:39 p.m.