Skip to content

Instantly share code, notes, and snippets.

View Howquez's full-sized avatar
🙃

Hauke Roggenkamp Howquez

🙃
View GitHub Profile
@Howquez
Howquez / xlsxToR.r
Last active March 20, 2019 07:23 — forked from byzheng/xlsxToR.r
Thanks @schaunwheeler & @byzheng codes to read xlsx files. I just implemented @Superstud comment
#' Read xlsx files
#'
#' @param file The path to xlsx file
#' @param keep_sheets A vector of sheet name
#' @param header Whether include the head in the sheet
#' @param empty_row Whether to remove the empty rows
#' @export
xlsxToR <- function(file, keep_sheets = NULL, header = TRUE, empty_row = TRUE)
{
suppressWarnings(file.remove(tempdir()))