\HeaderA{printWithNumbers}{Print a function with line numbers}{printWithNumbers}
\keyword{manip}{printWithNumbers}
\begin{Description}\relax
A function to print a function together with relevant line
numbers. These can be used to decide where to set \code{trace}
functions etc.
\end{Description}
\begin{Usage}
\begin{verbatim}
printWithNumbers(f)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{f}] Any R function. 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The function is printed, all lines that correspond to potential break
points in the code are numbered.
\end{Details}
\begin{Value}
The function is invoked primarily for its side effect; the printing of
the function with line numbers. However, the character vector is
returned and could be used as input for other tools.
\end{Value}
\begin{Author}\relax
R. Gentleman
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{trace}{trace}},  \code{\LinkA{capture.output}{capture.output}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
 printWithNumbers(convertMode)
\end{ExampleCode}
\end{Examples}

