next up previous contents
Next: Displaying the contents of Up: Basic operations for managing Previous: Renaming name entries

Copying data frames or fields

 

copy Copy a data frame into a new one
<source> name of source data
<target> name of target data
copy -f <srcfld> <trgfld> Copy a field instead of a frame

This command copies a source data frame (or field) into a target frame (or field) leaving the original frame intact. In the case of frames, the data fields are also copied instead of just creating new references (see select in section 2.9).

Example:

NDA> load boston.dat
NDA> copy boston data2
NDA> ls -fr data2
 data2.crim
 data2.zn
...



Anssi Lensu
Wed Oct 6 12:57:48 EET DST 1999