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.
.fileEdit(file)
Character string giving the file path to open.
Invoked for its side effect of opening a file for editing.