rstudio/profvis

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

UserMost Recent Commit# Commits
Winston Chang2018-02-22 03:07:22.0384
JJ Allaire2016-03-11 19:04:16.02
Jim Hester2015-12-07 21:26:10.04
Kirill Müller2017-07-26 20:39:28.06
Kevin Ushey2016-10-03 20:59:55.01
Javier Luraschi2016-05-18 17:31:56.0100

Other Committers

UserEmailMost Recent Commit# Commits

README

Profvis

Travis-CI Build Status

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.

Installation
all.packages("profvis")
Documentation

See the documentation site.

Example

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)

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.