| Line 89... |
Line 89... |
| 89 |
high load.
|
89 |
high load.
|
| 90 |
|
90 |
|
| 91 |
Functions will only be recorded in the profile log if they put a
|
91 |
Functions will only be recorded in the profile log if they put a
|
| 92 |
context on the call stack (see \code{\link{sys.calls}}). Some
|
92 |
context on the call stack (see \code{\link{sys.calls}}). Some
|
| 93 |
\link{primitive} functions do not do so: specifically those which are
|
93 |
\link{primitive} functions do not do so: specifically those which are
|
| 94 |
of \link{type} \code{"special"} (see the \sQuote{R Internals} manual
|
94 |
of \link{type} \code{"special"} (see \manual{R-ints}{}
|
| 95 |
for more details).
|
95 |
for more details).
|
| 96 |
|
96 |
|
| 97 |
Individual statements will be recorded in the profile log if
|
97 |
Individual statements will be recorded in the profile log if
|
| 98 |
\code{line.profiling} is \code{TRUE}, and if the code being executed
|
98 |
\code{line.profiling} is \code{TRUE}, and if the code being executed
|
| 99 |
was parsed with source references. See \code{\link{parse}} for a
|
99 |
was parsed with source references. See \code{\link{parse}} for a
|
| Line 204... |
Line 204... |
| 204 |
them. If the profiler runs out of space it will skip recording the
|
204 |
them. If the profiler runs out of space it will skip recording the
|
| 205 |
line information for new files, and issue a warning when
|
205 |
line information for new files, and issue a warning when
|
| 206 |
\code{Rprof(NULL)} is called to finish profiling.
|
206 |
\code{Rprof(NULL)} is called to finish profiling.
|
| 207 |
}
|
207 |
}
|
| 208 |
\seealso{
|
208 |
\seealso{
|
| 209 |
The chapter on \dQuote{Tidying and profiling R code} in
|
209 |
The Chapter \manual{R-exts}{Tidying and profiling R code}.
|
| 210 |
\sQuote{Writing R Extensions}:
|
- |
|
| 211 |
\code{\link{RShowDoc}("R-exts#Tidying-and-profiling-R-code")}.
|
- |
|
| 212 |
|
210 |
|
| 213 |
\code{\link{summaryRprof}} to analyse the output file.
|
211 |
\code{\link{summaryRprof}} to analyse the output file.
|
| 214 |
|
212 |
|
| 215 |
\code{\link{tracemem}}, \code{\link{Rprofmem}} for other ways to track
|
213 |
\code{\link{tracemem}}, \code{\link{Rprofmem}} for other ways to track
|
| 216 |
memory use.
|
214 |
memory use.
|