# cteate a GDS file
f <- createfn.gds("test.gds")
add.gdsn(f, "int.matrix", matrix(1:50*100, nrow=100, ncol=50))
# close the GDS file
closefn.gds(f)
# delete the temporary file
unlink("test.gds", force=TRUE)
Run the code above in your browser using DataLab