sidfex.fcst.search.rda2csv <- function(rTab.in, headerlines, indexTable.path=NULL){
# create and open the file connection
datafile <- file(file.path(indexTable.path, "indexTable.csv"), open = 'wt')
# if a header is defined, write it to the file
writeLines(headerlines,con=datafile)
# write the file using the defined function and required additional arguments
write.csv(rTab.in, file=datafile, row.names = FALSE)
close(datafile)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.