#'
#' Tau wrapper for read.csv()
#'
#' This just calls \link{read.csv}, but it provides better defaults.
#'
#' @param file A connection or filename for the CSV file
#' @param header Passed to read.csv(), defaults to TRUE
#' @param stringsAsFactors Passed to read.csv(), defaults to FALSE
#' @param comment.char Passed to read.csv, defaults to "#"
#' @param ... Any other arguments for read.csv()
#' @return The data frame from the CSV file
#'
#' @export
#'
tauReadCsv = function(file, header=TRUE, stringsAsFactors=FALSE,
comment.char="#", ... ) {
read.csv(file, header=header, stringsAsFactors=stringsAsFactors,
comment.char=comment.char, ... )
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.