ext_stream {mrgsim.parallel}R Documentation

Set or change the file extension on file_stream names

Description

Add or update the file extension for items in a file_stream object. If a file extension exists, it is removed first.

Usage

ext_stream(x, ext)

Arguments

x

A file_stream object.

ext

The new extension.

See Also

format_stream(), locate_stream(), new_stream(), file_stream(), file_set()

Examples

x <- new_stream(3)
x <- ext_stream(x, "feather")
x[[1]]$file


[Package mrgsim.parallel version 0.2.1 Index]