library(xlsReadWrite)
myval <- data.frame(
Fertility = c(80.2, 83.1, 92.5),
Agriculture = c(17, 45.1, 39.7),
Testlogical = c(TRUE, TRUE, FALSE),
Education = as.integer(c(12, 9, 5)),
Catholic = c(9.96, 84.84, 93.4),
Infant.Mortality = c(22.2, 22.2, 20.2),
Testcharacter = c("Co", "De", "Fr"), stringsAsFactors = FALSE)
write.xls(myval, "c:/mydata.xls")
错误于.Call("WriteXls", x, file, colNames, sheet, from - 1, rowNames, :
参数数目不对(7), ‘WriteXls’只需要6个参数
用的是R2.15.2 ,谢谢!


雷达卡




京公网安备 11010802022788号







