[R] writeWorksheet(....,rownames..) warning
David Winsemius
dwinsemius at comcast.net
Tue Jun 17 21:43:32 CEST 2014
On Jun 17, 2014, at 9:20 AM, Knut Krueger wrote:
> 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
?suppressWarnings
--
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list