Skip to content
Back to formatted view

Raw Message

Message-ID: <971536df0901250314j1133d016nc7360bf885503772@mail.gmail.com>
Date: 2009-01-25T11:14:16Z
From: Gabor Grothendieck
Subject: Calling a jar file with rJava
In-Reply-To: <21650356.post@talk.nabble.com>

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.
>