\HeaderA{fix}{Fix an Object}{fix}
\keyword{utilities}{fix}
\begin{Description}\relax
\code{fix} invokes \code{\LinkA{edit}{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{\LinkA{edit}{edit}}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The name supplied as \code{x} need not exist as an \R{} object, in 
which case a function with no arguments and an empty body is supplied 
for editing.
\end{Details}
\begin{SeeAlso}\relax
\code{\LinkA{edit}{edit}},
\code{\LinkA{edit.data.frame}{edit.data.frame}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## Not 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(Not run)\end{ExampleCode}
\end{Examples}

