Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Visualize R profiling data

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
NotificationsYou must be signed in to change notification settings

r-lib/profvis

Repository files navigation

R-CMD-checkCodecov test coverage

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.

Installation

install.packages("profvis")

Example

To run code with profiling, wrap the expression inprofvis(). By default, this will result in the interactive profile visualizer opening in a web browser.

library(profvis)f<-function() {  pause(0.1)  g()  h()}g<-function() {  pause(0.1)  h()}h<-function() {  pause(0.1)}profvis(f())

Theprofvis() call returns anhtmlwidget, 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 callingprint() on it.

p<- profvis(f())# View it with:p# or print(p)

About

Visualize R profiling data

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Contributors17


[8]ページ先頭

©2009-2025 Movatter.jp