\HeaderA{file.edit}{Edit One or More Files}{file.edit}
\keyword{utilities}{file.edit}
\begin{Description}\relax
Edit one or more files in a text editor.
\end{Description}
\begin{Usage}
\begin{verbatim}
file.edit(..., title = file, editor = getOption("editor"))
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{...}] one or more character vectors containing the names of the
files to be edited.
\item[\code{title}] the title to use in the editor; defaults to the filename.
\item[\code{editor}] the text editor to be used.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The behaviour of this function is very system dependent.  Currently files can be opened 
only one at a time on Unix; on Windows, the internal editor allows multiple files to be
opened, but has a limit of 50 simultaneous edit windows.

The \code{title} argument is used for the window caption in Windows, and is ignored
on other platforms.
\end{Details}
\begin{SeeAlso}\relax
\code{\LinkA{files}{files}},
\code{\LinkA{file.show}{file.show}},
\code{\LinkA{edit}{edit}},
\code{\LinkA{fix}{fix}},
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## Not run: 
# open two R scripts for editing
file.edit("script1.R", "script2.R")
## End(Not run)
\end{ExampleCode}
\end{Examples}

