Learn R Programming

houba (version 0.1.0)

flush: Flushes changes from a memory-mapped matrix

Description

Sync makes sure that the data written to the file linked with the object.

Usage

flush(con)

# S4 method for memoryMapped flush(con)

Value

None

Arguments

con

a memory mapped object

Details

An error will be raised if the object is read-only, or if the operation failed.

Examples

Run this code
x <- as.mvector(1:50)
x <- x + 1
flush(x)

Run the code above in your browser using DataLab