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.
RTermorrjin Eclipse?rj! Can this be the Problem?RTerm. (I can't remember the details how I madexlsxwork, but it's worth a try.)rj. This includes all use ofRCOMas well as printing of the return value ofsystem(). I userjby default because I like the way it deals with help, but if things don't work, I try it inRTerm. One day I'll have some spare time and I'll take it up with the author.