Nothing
#' Simple chronometer.
#' Has a little display and avoids wrapping everything in `system.time()`.
#' @noRd
chrono <- function(start, display = TRUE) {
if(missing(start)) ans <- proc.time()
else {
ans <- proc.time() - start
ans <- as.numeric(ans[3])
if(display) message("Execution time: ", round(ans, 2), " seconds.")
}
ans
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.