I use R XLConnect
package.
When I wrote 'XLConnect
' function, such as loadWorkbook()
, readWorksheetFromFile()
etc. , this error message happen.
Error: IllegalArgumentException (Java): Your InputStream was neither an OLE2 stream, nor an OOXML stream
How to solve this problem?
Before using this function, I took action against crashing between R and Mac OS X by the way http://www.r-bloggers.com/getting-r-and-java-1-8-to-work-together-on-osx/ link told.
I have used Mac OS X.