Error message when trying to write a xlsx.-file with R

I try to save some R-dataframes into .xlsx-files using the `write.xlsx` function of the `xlsx` package like this write.xlsx(tab,file="test",sheetName="testsheet",col.names=TRUE,row.names=FALSE,append=FALSE) whereas the object `tab` is a data frame, as prooved here > class(tab) [1] "data.frame" When I run the code I get the following error message > write.xlsx(tab,file="test.xlsx",sheetName="testsheet",col.names=TRUE,row.names=FALSE,append=FALSE) Fehler in .jcall("RJavaTools", "Z", "hasField", .jcast(x, "java/lang/Object"), : RcallMethod: cannot determine object class and I have no particular idea what the problem could be. PS: I'm running R 2.14.1 in the StatET 2.0 plugin in Eclipse 3.7 on a 64bit machine.
Are you using RTerm or rj in Eclipse?

以上就是Error message when trying to write a xlsx.-file with R的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏