fileEdit: Open a file for editing

.fileEditR Documentation

Open a file for editing

Description

RStudio's file.edit behaves differently than utils::file.edit. The workaround is to have the user manually open the file if they are using RStudio, as suggested in the RStudio support ticket at https://support.rstudio.com/hc/en-us/community/posts/206011308-file-edit-vs-utils-file-edit.

Usage

.fileEdit(file, verbose = getOption("Require.verbose", 1L))

Arguments

file

Character string giving the file path to open.

verbose

Numeric or logical indicating how verbose should the function be. If -1 or -2, then as little verbosity as possible. If 0 or FALSE, then minimal outputs; if 1 or TRUE, more outputs; 2 even more. NOTE: in Require function, when verbose >= 2, also returns details as if returnDetails = TRUE (for backwards compatibility).

Value

Invoked for its side effect of opening a file for editing.

Author(s)

Alex Chubaty


PredictiveEcology/SpaDES.project documentation built on Dec. 23, 2024, 7:33 a.m.