mvl_remap {RMVL} | R Documentation |
Enlarge memory map to include recently loaded data.
Description
This function operates on MVL files opened for writing. When writing new data to the MVL file that data is appended at the end and past the end of previously mapped data.
Calling mvl_remap()
updates the memory mapping to include all the data written before mvl_remap() was called.
The MVL file directory is also updated to include recently added entries. Old handles can still be used, but will not include updated directory information.
MVL_OBJECT's previously obtained from this handle continue to be valid.
Usage
mvl_remap(MVLHANDLE, append = TRUE)
Arguments
MVLHANDLE |
handle to opened MVL file as generated by |
append |
specify FALSE when you do not intend to write the file. |
Details
mvl_remap
returns a handle with updated directory.
Value
handle to MVL file, with updated directory.
See Also
Examples
## Not run:
Mtmp<-mvl_open("tmp_a.mvl", append=TRUE, create=TRUE)
mvl_write_object(Mtmp, runif(100), "vec1")
Mtmp<-mvl_remap(Mtmp)
print(Mtmp["vec1"])
## End(Not run)
[Package RMVL version 1.1.0.0 Index]