From bunny at lautloscrew.com  Thu Feb 28 23:09:08 2013
From: bunny at lautloscrew.com (Bunny)
Date: Thu, 28 Feb 2013 23:09:08 +0100
Subject: [Rd] conflict between rJava and data.table
Message-ID: <65A7F5D5-655A-4DCA-8A0F-F4ADD18DF0E7@lautloscrew.com>

Dear devel-listers, 

I found a conflct between rJava and data.table. Actually me questions is where to report it? 
Should I rather send it directly to the package maintainers or post it on some bug tracker. 
The problem is that data.table has a function called "J" and rJava uses the same quite intensively. 
I used the  xlsx R package which depends on rJava to write .xls files and ran into an error. 

write.xls from this package uses the functions and returns an error depending on the sequence the packages
were loaded. 


Error in .jnew("org/apache/poi/xssf/usermodel/XSSFWorkbook") : 
  java.lang.AbstractMethodError: java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;


data.table::J
rJava::J

I can work around this by loading and unloading packages, but I feel this should be addressed because 
loading these two packages that both deal with tables of data does not seem that unlikely to me. 

best

matt



[Rd] conflict between rJava and data.table
Bunny