Skip to content
Prev 148763 / 398498 Next

Usage of rJava (.jcall) with Weka functions, any example?

Dear All,

I'd like to use Weka functions that are not implemented (do not have
interface) in RWeka, like the Remove function and others in the
future!

The .java() functionality is for that purpose but I haven't seen any
example with Weka functions. Could anyone give me hand in how to do
it? For instace if I want to use the
weka.filters.unsupervised.attribute.Remove?

1. in the R console, first I load a matrix file,
OK!
2. Second, I f I want to remove the first attribute with Weka:
Is it that right?

I get this message error!

method Remove with signature
(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
not found

I've played around but I cannot get through!

All help will be appreciated! Thank you very much!

Josep Maria,

----------------------------------------------------------------------------