The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
profvis is a tool for visualizing code profiling data from R. It creates a web page which provides a graphical interface for exploring the data.
install.packages("profvis")
To run code with profiling, wrap the expression in
profvis()
. By default, this will result in the interactive
profile visualizer opening in a web browser.
library(profvis)
<- function() {
f pause(0.1)
g()
h()
}<- function() {
g pause(0.1)
h()
}<- function() {
h pause(0.1)
}
profvis(f())
The profvis()
call returns an htmlwidget, which by default when
printed opens a web browser. If you wish to save the object, it won’t
open the browser at first, but you can view it later by typing the
variable name at the console, or calling print()
on it.
<- profvis(f())
p
# View it with:
p# or print(p)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.