Make a copy of an H2O frame¶
Syntax¶
_h2oframe _copy frame_from frame_to [, replace]
Description¶
_h2oframe _copy copies an existing H2O frame on the H2O cluster to an H2O frame with a new name or to an existing H2O frame, replacing its contents. All data from frame_from are copied.
Option¶
replace specifies that frame_to be replaced if it already exists.
Examples¶
Setup
. sysuse auto
. _h2oframe _put, into(auto)
Copy the auto H2O frame to a new H2O frame named auto2
. _h2oframe _copy auto auto2
Copy an H2O frame to the existing H2O frame auto2, replacing it
. _h2oframe _copy auto auto2, replace