RATS 10.1
RATS 10.1

Instructions /

RENAME Instruction

Home Page

← Previous Next →

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)
number of comment lines (1 or 2) to add. List any comments on the next one or two lines following the RENAME command. Use 0 to delete existing comments. You can also use the (more modern) COMMENT option.

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