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 Copy a field instead of a frame
-f <srcfld> <trgfld>

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
...


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

Anssi Lensu
Tue Jul 23 11:58:18 EET DST 2002