i can't read an excel that i could already read in R, i'm using the tool read.xlsx2

207 views Asked by At

I'm using R and i need to open an excel file, while i'm working with it it appears the next message: Error in .jcall("RJavaTools", "Z", "hasField", .jcast(x, "java/lang/Object"), : RcallMethod: cannot determine object class The function that i'm using is read.xlsx2 from the package xlsx.

I´m having this problem since i linked my desktop with onedrive (R didn't found the files), i tried unlinking my desktop, but i had the same problem (didn't found) (and i changed the directory of the function). Then, i changed the directory of the excel and obtained this message:

Error in .jcall("RJavaTools", "Z", "hasField", .jcast(x, "java/lang/Object"), : RcallMethod: cannot determine object class

0

There are 0 answers