This help topic is for R version 1.5.0. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/file.edit.html
file.edit {base}R Documentation

Opens a file in an editable window

Description

This command is the analogous of the menu item "Open File for Editing" of the Macintosh porting of R but more flexible. It opens a file in an editable window.

Usage

file.edit(file)

Arguments

file

name of the file to open. If an empty string or no arguments is passed then R opens a clean ready to edit window called "NewFile". If the specified file cannot be found or simply does not exist, then a new window called "file" will be opened.

See Also

new.file.

Examples

file.edit("AUTHORS")
## creates a new clean window
file.edit("unexistant")

[Package base version 1.5.0 ]