RENAME Instruction |
RENAME( options ) oldname newname comments
Renames a series on the RATS format data file currently being edited. Changes are not made permanent until you do a SAVE instruction.
Wizard
If you open the file using File—Open, you can use the Rename toolbar icon to rename a series. See RATS Data Files for details.
Parameters
oldname |
old (that is, current) series name |
newname |
new series name |
comments |
(optional) (by default, no change to previous comments) |
Options
COMMENTS=STRING or VECT[STRINGS] containing comments [no comments]
Use this option if you want to add comments describing the series. You can add up to two (80 character) comments to a series.
Example
dedit mydata.rat
rename(comment="GNP in 1982 Dollars") gnp82 real_gnp
save
Renames the series GNP82 to REAL_GNP, and adds the comment "GNP in 1982 Dollars".
Copyright © 2025 Thomas A. Doan