Closed zhengxwen closed 9 years ago
gdsfmt_1.3.1 has a bug which was identified recently. It is fixed in gdsfmt_1.3.2, and please install the latest gdsfmt package immediately.
gdsfmt_1.3.1
gdsfmt_1.3.2
library(gdsfmt) gfile <- createfn.gds("test.gds") node <- add.gdsn(gfile, "data", as.character(1:1000)) read.gdsn(node, start=300, count=1) closefn.gds(gfile)
showing:
Error in read.gdsn(node, start = 300, count = 1) : Stream read error
However, the following code works with gdsfmt_1.3.1:
library(gdsfmt) gfile <- createfn.gds("test.gds") node <- add.gdsn(gfile, "data", as.character(1:1000)) read.gdsn(node) read.gdsn(node, start=300, count=1) closefn.gds(gfile)
gdsfmt_1.3.1
has a bug which was identified recently. It is fixed ingdsfmt_1.3.2
, and please install the latest gdsfmt package immediately.showing:
However, the following code works with
gdsfmt_1.3.1
: