nwds
List the networks in memory (like ds)
Syntax
nwds
[netlist]
[,
alpha
not
ds_options]
alpha |
List network names in alphabetical order (the default is creation order) |
not |
Invert the selection - list every other loaded network instead of the ones named in netlist |
| ds_options | Any other option is forwarded to Stata’s own ds (e.g. varwidth, which controls the display’s own column width) |
Description
nwds lists the networks currently loaded in memory, reusing Stata’s own ds command for the display (network names are shown the way ds shows variable names). With no netlist, every loaded network is listed. r(netlist) always returns the exact list of network names shown.
Network types
The command works the same for every network type (see nwnetworktypes).
Examples
. nwwebuse florentine, nwclear
. nwds
. nwds, alpha
Stored results
- Macros
- r(netlist) — the exact list of network names shown
See also
nwcommands version 3.25.0, 14 November 2026 (check your installed version)