Any Idea to prevent the warning message? library(XLConnect) wb <- loadWorkbook("writeWorksheet.xlsx", create = TRUE) createSheet(wb, name = "CO2") writeWorksheet(wb, CO2, sheet = "CO2",rownames=c("",1:84)) saveWorkbook(wb)
Warning message: In names(res)[1] <- colname : number of items to replace is not a multiple of replacement length ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.