title: lineprof equivalent for Rcpp
body: <p>The <code>lineprof</code> package in R is very useful for profiling which parts of function take up time and allocate/free memory.</p>
  
  <p>Is there a <code>lineprof()</code> equivalent for Rcpp ?</p>
  
  <p>I currently use <code>std::chrono::steady_clock</code> and such to get chunk timings out of an <code>Rcpp</code> function. Alternatives? Does <code>Rstudio IDE</code> provide some help here?</p>