This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#The base version on 9/23/2013 still dies on WUA_yldata_for TRB_contest Sep 10 2013.xlsx as a file name | |
xlsxToR <- function(file, keep_sheets = NULL, header = FALSE) { | |
require(XML) | |
require(plyr) | |
require(pbapply) | |
suppressWarnings(file.remove(tempdir())) | |
file.copy(file, tempdir()) | |
new_file <- list.files(tempdir(), full.name = TRUE, pattern = basename(file)) |