I tried installing java and using the XLConnect package mmethods (both of them) but I get an error that looks like this:
Error: IOException (Java): Your InputStream was neither an OLE2 stream, nor an OOXML stream
I am definitely not trying to load an empty file, and I definitely do have access to/permission to read from the file location. What might I be doing wrong?
I tried installing java and using the XLConnect package mmethods (both of them) but I get an error that looks like this:
Error: IOException (Java): Your InputStream was neither an OLE2 stream, nor an OOXML stream
I am definitely not trying to load an empty file, and I definitely do have access to/permission to read from the file location. What might I be doing wrong?
I've investigated these related questions without success.

.xlsversion was used, it might actually be a.xml. See: github.com/tidyverse/readxl/issues/635#issuecomment-734504530 - Justin Singh-M.xml2package to open it in R and see if that works (xml2::read_xml()). If that doesn't work, can you open the.xlsand save it again as a.xlsx? - Justin Singh-M..xlsfiles are still a different file type, but without the files themselves I wouldn't know for sure. If you haven't seen it already, see if this answer is useful: stackoverflow.com/a/27083260/6891484. Additionally, make sure the file isn't open when you are attempting to load it into R, as that seems to cause issues as well. - Justin Singh-M.