Name Mode Size
..
add.gdsn.Rd 100755 12 kb
addfile.gdsn.Rd 100755 4 kb
addfolder.gdsn.Rd 100755 3 kb
append.gdsn.Rd 100755 2 kb
apply.gdsn.Rd 100755 7 kb
assign.gdsn.Rd 100755 2 kb
cache.gdsn.Rd 100755 1 kb
cleanup.gds.Rd 100755 1 kb
closefn.gds.Rd 100755 1 kb
clusterApply.gdsn.Rd 100755 4 kb
cnt.gdsn.Rd 100755 1 kb
compression.gdsn.Rd 100755 5 kb
copyto.gdsn.Rd 100755 1 kb
createfn.gds.Rd 100755 1 kb
delete.attr.gdsn.Rd 100755 1 kb
delete.gdsn.Rd 100755 1 kb
diagnosis.gds.Rd 100755 2 kb
digest.gdsn.Rd 100755 3 kb
exist.gdsn.Rd 100755 1 kb
gds.class.Rd 100755 1 kb
gdsfmt-package.Rd 100755 4 kb
gdsn.class.Rd 100755 0 kb
get.attr.gdsn.Rd 100755 1 kb
getfile.gdsn.Rd 100755 1 kb
getfolder.gdsn.Rd 100755 1 kb
index.gdsn.Rd 100755 2 kb
is.element.gdsn.Rd 100755 1 kb
is.sparse.gdsn.Rd 100755 1 kb
lasterr.gds.Rd 100755 0 kb
ls.gdsn.Rd 100755 1 kb
moveto.gdsn.Rd 100755 2 kb
name.gdsn.Rd 100755 1 kb
objdesp.gdsn.Rd 100755 2 kb
openfn.gds.Rd 100755 3 kb
permdim.gdsn.Rd 100755 2 kb
print.gds.class.Rd 100755 2 kb
put.attr.gdsn.Rd 100755 1 kb
read.gdsn.Rd 100755 3 kb
readex.gdsn.Rd 100755 3 kb
readmode.gdsn.Rd 100755 1 kb
rename.gdsn.Rd 100755 1 kb
setdim.gdsn.Rd 100755 2 kb
showfile.gds.Rd 100755 1 kb
summarize.gdsn.Rd 100755 1 kb
sync.gds.Rd 100755 1 kb
system.gds.Rd 100755 1 kb
unload.gdsn.Rd 100755 1 kb
write.gdsn.Rd 100755 2 kb
readmode.gdsn.Rd
\name{readmode.gdsn} \alias{readmode.gdsn} \title{Switch to read mode in the compression settings} \description{ Switch to read mode for a GDS node with respect to its compression settings. } \usage{ readmode.gdsn(node) } \arguments{ \item{node}{an object of class \code{\link{gdsn.class}}, a GDS node} } \details{ After the compressed data field is created, it is in writing mode. Users can add new data to the compressed data field, but can not read data from the data field. Users have to call \code{readmode.gdsn} to finish writing, before reading any data from the compressed data field. Once switch to the read mode, users can not add more data to the data field. If users would like to append more data or modify the data field, please call \code{compression.gdsn(node, compress="")} to decompress data first. } \value{ Return \code{node}. } \author{Xiuwen Zheng} \seealso{ \code{\link{compression.gdsn}}, \code{\link{add.gdsn}} } \examples{ # cteate a GDS file f <- createfn.gds("test.gds") # commom types n <- add.gdsn(f, "int", val=1:100, compress="ZIP") # you can not read the variable "int" because of writing mode # read.gdsn(n) readmode.gdsn(n) # now you can read "int" read.gdsn(n) # close the GDS file closefn.gds(f) # delete the temporary file unlink("test.gds", force=TRUE) } \keyword{GDS} \keyword{utilities}