prof.routine: A wrapper for proftools to profile a set of commands

Description Usage Arguments Value Author(s)

Description

This is a helper function to run a set of commands in an Rprof'ed session and return the profile data

Usage

1
prof.routine(f, rep = 1)

Arguments

f

a string containing R code to be parsed and run.

rep

An integer for the number of times to repear the f evaluation, helps capture fast routines

Value

a proftools parse of the profile data

Author(s)

Alex


NorskRegnesentral/NRTools documentation built on May 7, 2019, 6:19 p.m.