[R] writeWorksheet(....,rownames..) warning

Knut Krueger rh at knut-krueger.de
Tue Jun 17 18:20:03 CEST 2014

Any Idea to prevent the warning message?

wb <- loadWorkbook("writeWorksheet.xlsx", create = TRUE)
createSheet(wb, name = "CO2")
writeWorksheet(wb, CO2, sheet = "CO2",rownames=c("",1:84))

Warning message:
In names(res)[1] <- colname :
   number of items to replace is not a multiple of replacement length

More information about the R-help mailing list