#' myread
#'
#' Reads .csv files
#'
#' @param csv The name of a csv file
#' @param dird The directory the file is in
#'
#' @return The data frame inside the csv file
#' @export
#'
#' @examples
#' \dontrun{mpg.df=myread("EPAGAS.csv")}
myread=function(csv,dird){
fl=paste(dird,csv,sep="")
read.table(fl,header=TRUE,sep=",")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.