Skip to contents

Run a Stata command

Usage

stata_run(commands, session = stata_default_session(), env = caller_env())

Arguments

commands

A vector of Stata commands to run

session

The Stata session to run the commands in

env

The R environment in which to look for data frames to transfer to Stata