stopStata: Stop (close) Stata instance

stopStataR Documentation

Stop (close) Stata instance

Description

A convenience wrapper around Stata code exit, STATA.

Usage

stopStata(id, clear = FALSE)

Arguments

id

An object of S3 class 'StataID' generated by startStata.

clear

Logical. Should the data in Stata memory be discarded (i.e. Stata code exit, STATA clear). Default: FALSE.

Value

NULL or error if there is unsaved data in Stata memory and clear=FALSE.


alekrutkowski/RStataLink documentation built on March 22, 2023, 2:18 a.m.