Save subset of data
savesome [varlist] [if exp] [in range] using filename [, save_options]
Description
savesome saves part of the data in memory to filename. If filename is specified without an extension, .dta is used.
Options
save_options are options of save. See help on save.
Examples
. savesome if foreign using foreign.dta
. savesome mpg weight make using small
. savesome mpg weight make using small6, old
Author
Nicholas J. Cox, Durham University, U.K. n.j.cox@durham.ac.uk
Acknowledgments
(August 2011) Kenneth L. Simons suggested a fix to cope with spaces in filenames.
Also see
On-line: help for save Manual: [R] save