Rcode2office {rrtable}R Documentation

Make R code slide

Description

Make R code slide

Usage

Rcode2office(
  code,
  preprocessing = "",
  title = "",
  type = "pptx",
  target = "Report",
  append = FALSE
)

Arguments

code

A character string encoding R codes

preprocessing

A character string of R code as a preprocessing

title

A character

type

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

target

name of output file

append

logical

Examples

## Not run: 
code="summary(lm(mpg~hp+wt,data=mtcars))"
Rcode2office(code=code)

## End(Not run)

[Package rrtable version 0.3.0 Index]