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 On Mon, Dec 3, 2012 at 2:07 PM, jim holtman <jholt...@gmail.com> wrote: > use the XLConnect package. > > On Mon, Dec 3, 2012 at 7:59 AM, Nico Met <nicome...@gmail.com> wrote: > > Dear all, > > > > How can I read .xlsx files in R > > > > Regards Nico > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > -- > Jim Holtman > Data Munger Guru > > What is the problem that you are trying to solve? > Tell me what you want to do, not how you want to do it. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.