Name: profvis
Owner: RStudio
Description: Visualize R profiling data
Created: 2015-09-18 18:01:49.0
Updated: 2018-01-06 22:40:29.0
Pushed: 2017-12-24 02:14:11.0
Homepage: https://rstudio.github.io/profvis
Size: 4582
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|---|---|
Winston Chang | 2018-02-22 03:07:22.0 | 384 |
JJ Allaire | 2016-03-11 19:04:16.0 | 2 |
Jim Hester | 2015-12-07 21:26:10.0 | 4 |
Kirill Müller | 2017-07-26 20:39:28.0 | 6 |
Kevin Ushey | 2016-10-03 20:59:55.0 | 1 |
Javier Luraschi | 2016-05-18 17:31:56.0 | 100 |
Other Committers
User | Most Recent Commit | # Commits |
---|
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. Live demo.
all.packages("profvis")
See the documentation site.
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. You can see a live demo here.
ary(profvis)
ary(ggplot2)
vis({
<- ggplot(diamonds, aes(carat, price)) + geom_point(size = 1, alpha = 0.2)
int(g)
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({
<- ggplot(diamonds, aes(carat, price)) + geom_point(size = 1, alpha = 0.2)
int(g)
ew it with:
print(p)