Description Usage Arguments Value Author(s) References Examples
Displays the contents of "gds.class" (a GDS file) and "gdsn.class" (a GDS node).
1 2 3 4 5 6 7 |
x |
an object of class |
object |
an object of class |
path |
the path specifying a GDS node with '/' as a separator |
show |
if TRUE, display the preview of array node |
expand |
whether enumerate all of child nodes |
all |
if FALSE, hide GDS nodes with an attribute "R.invisible" |
nmax |
display nodes within the maximum number |
depth |
display nodes under maximum |
attribute |
if TRUE, show the attribute(s) |
attribute.trim |
if TRUE, trim the attribute information if it is too long |
... |
the arguments passed to or from other methods |
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 | # cteate a GDS file
f <- createfn.gds("test.gds")
add.gdsn(f, "int", 1:100)
add.gdsn(f, "int.matrix", matrix(1:(50*100), nrow=100, ncol=50))
put.attr.gdsn(index.gdsn(f, "int.matrix"), "int", 1:10)
print(f, all=TRUE)
print(f, all=TRUE, attribute=TRUE)
print(f, all=TRUE, attribute=TRUE, attribute.trim=FALSE)
show(index.gdsn(f, "int"))
show(index.gdsn(f, "int.matrix"))
# 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.