Nothing
#' Wrapper function for calling executables in R
#'
#' @param filename a path with a name to the .exe file to be wrapped here.
#'
#' @return Executable output.
#'
#' @author Dennis Walvoort
#'
#' @importFrom magrittr %>%
#'
#' @export
executable <- function(filename) {
if (!file.exists(filename)) {
stop(
"%s not found" %>% sprintf(sQuote(filename)),
call. = FALSE
)
}
function() {
root <- dirname(filename)
owd <- setwd(root)
on.exit(setwd(owd))
system2(basename(filename), wait = TRUE)
}
}
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.