| Line 14... |
Line 14... |
| 14 |
\title{Invoke a Text Editor}
|
14 |
\title{Invoke a Text Editor}
|
| 15 |
\description{
|
15 |
\description{
|
| 16 |
Invoke a text editor on an \R object.
|
16 |
Invoke a text editor on an \R object.
|
| 17 |
}
|
17 |
}
|
| 18 |
\usage{
|
18 |
\usage{
|
| - |
|
19 |
edit(name, \dots)
|
| 19 |
\method{edit}{default}(name = NULL, file = "", title = NULL,
|
20 |
\method{edit}{default}(name = NULL, file = "", title = NULL,
|
| 20 |
editor = getOption("editor"), \dots)
|
21 |
editor = getOption("editor"), \dots)
|
| 21 |
|
22 |
|
| 22 |
vi(name = NULL, file = "")
|
23 |
vi(name = NULL, file = "")
|
| 23 |
emacs(name = NULL, file = "")
|
24 |
emacs(name = NULL, file = "")
|
| 24 |
pico(name = NULL, file = "")
|
25 |
pico(name = NULL, file = "")
|
| 25 |
xemacs(name = NULL, file = "")
|
26 |
xemacs(name = NULL, file = "")
|
| 26 |
xedit(name = NULL, file = "")
|
27 |
xedit(name = NULL, file = "")
|
| 27 |
}
|
28 |
}
|
| 28 |
\arguments{
|
29 |
\arguments{
|
| 29 |
\item{name}{a named object that you want to edit. If name is missing
|
30 |
\item{name}{a named object that you want to edit. For the default
|
| - |
|
31 |
method, if \code{name} is missing then the file specified by
|
| 30 |
then the file specified by \code{file} is opened for editing.}
|
32 |
\code{file} is opened for editing.}
|
| 31 |
\item{file}{a string naming the file to write the edited version to.}
|
33 |
\item{file}{a string naming the file to write the edited version to.}
|
| 32 |
\item{title}{a display name for the object being edited.}
|
34 |
\item{title}{a display name for the object being edited.}
|
| 33 |
\item{editor}{usually a character string naming (or giving the path
|
35 |
\item{editor}{usually a character string naming (or giving the path
|
| 34 |
to) the text editor you want to use. On Unix the default is set from
|
36 |
to) the text editor you want to use. On Unix the default is set from
|
| 35 |
the environment variables \env{EDITOR} or \env{VISUAL} if either is
|
37 |
the environment variables \env{EDITOR} or \env{VISUAL} if either is
|