read.table.plink <- function(filestub, ext, ...) {
result <- NULL
readfile <- paste0(filestub, ext)
if(file.exists(readfile)) {
result <- read.table2(readfile, ...)
attr(result, "table.exists") <- T
}
else attributes(result) <- list(table.exists= F)
return(result)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.