name.gdsn {gdsfmt} | R Documentation |
Get the variable name of a GDS node.
name.gdsn(node, fullname=FALSE)
node |
an object of class |
fullname |
if |
Characters.
Xiuwen Zheng
http://github.com/zhengxwen/gdsfmt
cnt.gdsn
, objdesp.gdsn
,
ls.gdsn
, rename.gdsn
# cteate a GDS file f <- createfn.gds("test.gds") # add a list to "test.gds" add.gdsn(f, name="list", val=list(x=c(1,2), y=c("T","B","C"), z=TRUE)) node <- index.gdsn(f, "list/x") name.gdsn(node) # "x" name.gdsn(node, fullname=TRUE) # "list/x" # close the GDS file closefn.gds(f) # delete the temporary file unlink("test.gds", force=TRUE)