Nothing
#' Get function code
#' @param fct a R function
#' @return String with function code
getFctCode <- function(fct){
if(is.primitive(fct)){
fctCode <- capture.output(print(fct))
fctCode <- sub(".*\\.Primitive\\((.+)\\).*", "\\1", fctCode)
fctCode <- sub('^"(.+)"$', "\\1", fctCode)
}else{
fctCode <- paste(as.character(body(fct)), collapse = "")
}
return(fctCode)
}
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.