Learn R Programming

zonator (version 0.6.0)

copy_zvariant: Copy existing variant as a new Zvariant object.

Description

Corresponding files on the file system are immediately created. In orderd to modify the variant, manipulate the returned Zvariant object and use save_zvariant method.

Usage

copy_zvariant(x, name, dir)

# S4 method for Zvariant,character,character copy_zvariant(x, name, dir)

Arguments

x

Zvariant object.

name

Characted string naming the copied variant.

dir

Characted string directory where the new variant is created on file system.

Value

Zvariant object

Details

If the variant being copied has results, they are not copied to the new variant.

See Also

Zvariant-class save_zvariant