View source: R/misc functions.R
execute | R Documentation |
This function is a wrapper for a few tweaks around sourcing an R script.
execute(filepath)
filepath |
a character string indicating the R script you want to execute. |
The R script is run in it's own R session, to avoid crashing an R session handling the batch processing of scripts. Activity is indicated with a spinner, and completed scripts are announced to help localise errors to a script. The time taken for a script to complete is also tracked in a log file, which can be accessed with 'tictoc::tic.log()'.
The R script is run for it's side effects and the run time added to a log by 'tictoc'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.