\Header{fix}{Fix an Object}
\keyword{utilities}{fix}
\begin{Description}\relax
\code{fix} invokes \code{\Link{edit}} on \code{x} and then assigns the new
(edited) version of \code{x} in the user's workspace.\end{Description}
\begin{Usage}
\begin{verbatim}
fix(x, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] the name of an \R{} object, as a name or a character string.
\item[\code{...}] arguments to pass to editor: see \code{\Link{edit}}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The name supplied as \code{x} need not exist as an \R{} object, when a
function with no arguments and an empty body is supplied for editing.\end{Details}
\begin{SeeAlso}\relax
\code{\Link{edit}},
\code{\Link{edit.data.frame}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## Don't run: 
 ## Assume 'my.fun' is a user defined function :
 fix(my.fun)
 ## now my.fun is changed
 ## Also,
 fix(my.data.frame) # calls up data editor
 fix(my.data.frame, factor.mode="char") # use of ...
## End Don't run\end{ExampleCode}
\end{Examples}

