Package 'rmio'

Title: Provides 'mio' C++11 Header Files
Description: Provides header files of 'mio', a cross-platform C++11 header-only library for memory mapped file IO <https://github.com/mandreyel/mio>.
Authors: Florian Privé [aut, cre]
Maintainer: Florian PrivĂ© <[email protected]>
License: GPL-3
Version: 0.4.0
Built: 2024-11-03 03:34:37 UTC
Source: https://github.com/privefl/rmio

Help Index


Create or resize files

Description

Create or resize files

Usage

file_create(file, size)

file_resize(file, size)

file_resize_off(file, size)

Arguments

file

Path name.

size

Size in bytes.

Value

Input file, invisibly.

Examples

tmp <- tempfile()
file_create(tmp, 10)
file.size(tmp)
file_resize(tmp, 5)
file.size(tmp)
file_resize_off(tmp, 10)
file.size(tmp)