set_stata_engine: Knitr engine for Stata

Description Usage Arguments Examples

View source: R/knitr.R

Description

Knitr engine for Stata

Usage

1
2
3
4
set_stata_engine(
  bin = getOption("RStata.StataPath",
    stop("You need to set up a Stata path; ?find_stata"))
)

Arguments

bin

Path to Stata bin directory, if NULL then statarepl will set it to getOption("RStata.StataPath", stop("You need to set up a Stata path; ?find_stata")), if you don't have options("RStata.StataPath") setted, you can search and set it use find_stata

Examples

1
2
3
4
## Not run: 
statarepl::set_stata_engine()

## End(Not run)

czxa/statarepl documentation built on Jan. 1, 2020, 12:54 p.m.