#' Count lines in a file
#'
#' \code{count_lines} uses UNIX system command \code{wc} to determine the number
#' of lines in the given file
#'
#' @param file path to file in question
#'
#' @export
count_lines <- function(file) {
return(as.numeric(system(paste('wc -l <', file), intern = T)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.