Description Usage Arguments Value Author(s) References See Also Examples
Delete a specified GDS node.
1 | delete.gdsn(node, force=FALSE)
|
node |
an object of class |
force |
if |
None.
Xiuwen Zheng
http://github.com/zhengxwen/gdsfmt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # cteate a GDS file
f <- createfn.gds("test.gds")
# add a list to "test.gds"
node <- add.gdsn(f, name="list", val=list(x=c(1,2), y=c("T", "B", "C"), z=TRUE))
f
## Not run:
# delete "node", but an error occurs
delete.gdsn(node)
## End(Not run)
# delete "node"
delete.gdsn(node, TRUE)
# close the GDS file
closefn.gds(f)
# delete the temporary file
unlink("test.gds", force=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.