我正在运行以下脚本
library(xlsx);
wb <- loadWorkbook("/home/.../MyFile.xlsx") #works fine
sh <- getSheets(wb) #works fine
rw <- getRows(sh[[1]]) #-works fine
rc <- getCells(rw) # works fine
v <- lapply(rc, getCellValue) # works fine
v['21.4'] #works fine, returns the correct value
setCellValue(rc['21.4'], 'Hallo') #fails
Error in .jcall(cell, "V", "setCellValue", value) :
java.lang.ClassNotFoundException
重复命令后
Error in .jcall(cell, "V", "setCellValue", value) :
RcallMethod: cannot determine object class
它发生在 RStudio 和 Ubuntu 12.04 32Bit 下的经典 R 终端中。请帮忙!