Description Usage Arguments Details See Also
This function will run an R expression with profiling, and then return an htmlwidget for interactively exploring the profiling data.
1 2 |
expr |
Code to profile. Not compatible with |
interval |
Interval for profiling samples, in seconds. Values less than 0.005 (5 ms) will probably not result in accurate timings |
prof_output |
Name of an Rprof output file in which to save profiling
data. If |
prof_input |
The path to an |
width |
Width of the htmlwidget. |
height |
Height of the htmlwidget |
An alternate way to use profvis
is to separately capture the profiling
data to a file using Rprof()
, and then pass the path to the
corresponding data file as the prof_input
argument to
profvis()
.
print.profvis
for printing options.
Rprof
for more information about how the profiling
data is collected.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.