Well, the call to Java methods should be really simple in rJava. What you had tried is actually correct, initialize jvm, create an object, then call method.
For the error you met, maybe you should check .jaddClassPath. At 2011-04-23 20:58:22£¬hill0093 <hill0...@umn.edu> wrote: >That's more than I can understand. >I just need help from someone who knows. >Should be a simple answer from that person. > > >-- >View this message in context: >http://r.789695.n4.nabble.com/Using-Java-methods-in-R-tp3469299p3469882.html >Sent from the R help mailing list archive at Nabble.com. > >______________________________________________ >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. [[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.