set
Changes how the session behaves.
What we have
set show stata|python|r,set mincellandset showpythonset language stata|python|rsetwith no value reports what is on
Coming later
- Stata's other settings —
more,varabbrevandtypeare accepted and do nothing
How you write it
set showpython on|off | set show stata|python|r on|off | set language stata|python | set mincell N|off
Square brackets mean optional. A vertical bar means choose one.
What it does
Four settings matter, and each has its own page because each is a real idea rather than a switch:
- [
set show](set-show.html) — print every command in pandas or R as you run it, so you can see what it became. - [
set language](set-language.html) — type Python or dplyr at the prompt instead of Stata, against the same data. - [
set mincell](set-mincell.html) — hide table cells with too few people in them, so a table can leave the building safely. set showpython on— an older way of sayingset show python on.
set on its own with no value reports what is currently on.
Try it
. set show python on
show python is now on
. set show python off
show python is now off