[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] Network Alternative to rJava/JRI?
From:       Ista Zahn <istazahn () gmail ! com>
Date:       2017-04-26 15:27:13
Message-ID: CA+vqiLFVU3ptoyMOrP8qn-FShROLeJJGbWnUvx3Y6kZ9PGiCug () mail ! gmail ! com
[Download RAW message or body]

Shiny could probably work, but https://www.opencpu.org/ is probably a
better fit.

Best,
Ista

On Wed, Apr 26, 2017 at 9:55 AM, Jake Stone <jake@jakestone.net> wrote:
> I am a java programmer, quite new to R.
>
> I am familiar with rJava/JRI, but would prefer a distributed networked
> architecture for my systems.
>
> TASK:
>
>    - Java runs an NLP analysis of a text. It then sends an array (vector)
>    of variables to R
>    - R predicts the class of the input vector based on a pre-analyzed
>    discriminant analysis of a full dataset in R.
>    - R returns the class prediction to java.
>
> IDEAL SOLUTION
> R is an online webserver (perhaps shiny?) that "waits" for a request sent
> via http. (This is similar to a jave servlet on a webserver)
> Java program sends an http request with the array of variables
> R responds with a response of the class prediction.
>
> QUESTION
> Is there an extant architecture that supports this. I expect shiny can do
> this, but I am hesitant to spend two or three days learning shiny unless I
> am confident the effort will pay off.
>
> best
>
> jake
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic