[R] Calling a jar file with rJava

Gabor Grothendieck ggrothendieck at gmail.com
Sun Jan 25 12:14:16 CET 2009


Check out the source to helloJavaWorld package or one of the other
packages that uses rJava.  Some of them are:
CADStat Containers JGR RFreak RJDBC RKEA RLadyBug
RWeka gWidgetsrJava helloJavaWorld iplots openNLP rSymPy
rcdk rcdklibs wordnet

On Sun, Jan 25, 2009 at 5:48 AM, cameron.bracken
<cameron.bracken at gmail.com> wrote:
>
> I want to call the jar file from R.  I want to be able to do this without
> using system().  Normally a command line call would look like
>
> java -jar eps2pgf.jar -m directcopy myfile.eps
>
> My question is: Can I call this program using the rJava package or any other
> (command line options and all)?  I really know nothing about Java so any
> pointers would be appreciated.
>
> Thanks
>
> -Cameron Bracken
> --
> View this message in context: http://www.nabble.com/Calling-a-jar-file-with-rJava-tp21650356p21650356.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>




More information about the R-help mailing list