unload.gdsn {gdsfmt} | R Documentation

## Unload a GDS node

### Description

Unload a specified GDS node.

### Usage

    unload.gdsn(node)

### Arguments

`node` | an object of class `gdsn.class`, a GDS node

### Value

None.

### Author(s)

Xiuwen Zheng

### References

http://github.com/zhengxwen/gdsfmt

### See Also

`delete.gdsn`

### Examples

    # cteate a GDS file
    f <- createfn.gds("test.gds")

    # add a list to "test.gds"
    node <- add.gdsn(f, "val", 1:1000)
    node

    ## Not run:
    unload.gdsn(node)
    node  # Error: Invalid GDS node object (it was unloaded or deleted).

    ## End(Not run)

    index.gdsn(f, "val")

    # close the GDS file
    closefn.gds(f)

    # delete the temporary file
    unlink("test.gds", force=TRUE)

[Package gdsfmt version 1.30.0 Index]