flush_editorcontent: Flush the content of the editor window (even if not saved)

View source: R/flusher.R

flush_editorcontentR Documentation

Flush the content of the editor window (even if not saved)

Description

Flush the content of the editor window (even if not saved), saving it into a file whose name is the same as the filename in the editor, with a specified suffix

Usage

flush_editorcontent(out_suffix = ".flushed.R")

Arguments

out_suffix

Character string, defaults to .flushed.R

Value

Creates a file

Examples

# flush_editorcontent()     # e.g. to be inserted in the execution of a scripts

imbeimainz/IMBEImisc documentation built on Nov. 14, 2024, 1:22 p.m.