| segment_open | R Documentation |
Open an existing shared memory segment
segment_open(path, backing = c("mmap", "shm"), readonly = TRUE)
path |
Path or shm name of the segment |
backing |
Backing type: "mmap" or "shm" |
readonly |
Open as read-only |
A shard_segment object attached to the existing segment.
seg <- segment_create(1024, backing = "mmap")
path <- segment_path(seg)
seg2 <- segment_open(path, backing = "mmap", readonly = TRUE)
segment_close(seg2, unlink = FALSE)
segment_close(seg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.