[Rd] write.dta (foreign package)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Jan 10 14:59:29 CET 2008
On Thu, 10 Jan 2008, Edward wrote:
> Hi,
> I'd like to request that the 'write.dta' command also save the
> "var.labels" attributes of the data frame.
> 'read.dta' can read them, but 'write.dta' doesn't write them back.
Perhaps you could provide a patch? Very few of us have Stata which would
be needed to check this out.
Note that a general data frame will not have a "var.labels" attribute, so
you need careful validity checking.
> Thanks....
> Edward McNeil
>
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-devel
mailing list