Learn R Programming

SpaDES.core (version 0.2.7)

.fileEdit: 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)

Arguments

file

Character string giving the file path to open.

Value

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