[R] xlsx file read in R

R. Michael Weylandt michael.weylandt at gmail.com
Mon Dec 3 15:51:33 CET 2012


On Mon, Dec 3, 2012 at 1:27 PM, Nico Met <nicomet80 at gmail.com> wrote:
>  Dear all,
>
> this is the code I used to read the .xlsx file but get an error message!!!!
>
> library(rJava)
> library(XLConnectJars)
>  library(XLConnect)
>  file<-readWorksheetFromFile("all_in.xlsx", sheet = 1)
>
> Error: NoClassDefFoundError (Java): Could not initialize class
> org.apache.poi.POIXMLDocument
>
> No idea where it went wrong
>
> Regards
>
> Nico
>

Can you run the examples from some of the package help pages or is the
whole thing not working?

Michael




More information about the R-help mailing list