[R] Calling R code from Javascript

Hasan Diwan h@@@n@d|w@n @end|ng |rom gm@||@com
Sat May 25 04:12:37 CEST 2019


Sunanda,
I'd suggest you expose a model and methods to the web using shiny or
something. After which, you just need to use jquery to call the HTTP
endpoint. If you need further assistance, please email me off list and I'll
provide. -- H

On Fri, 24 May 2019 at 18:05, Sunanda Iyengar via R-help <
r-help using r-project.org> wrote:

> Hello,
> Came across this e-mail when considering plumber to use R Gui.I am very
> new to this and i am not sure how to use plumber to connect a javascrpt
> code to run R. I have a chunk of R code which does some number crunching
> work which is very neat. I want this to run from a browser API call using
> plumber within javascript. Please let me if it is possible. If you have a
> javascript example I would be very thankful for the share.
> If there are other ways to run R code from javascript, pl let me know.
>
> Regards,Sunanda
>
>    -
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using 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.
>


-- 
OpenPGP:
https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1
If you wish to request my time, please do so using
*bit.ly/hd1AppointmentRequest
<http://bit.ly/hd1AppointmentRequest>*.
Si vous voudrais faire connnaisance, allez a *bit.ly/hd1AppointmentRequest
<http://bit.ly/hd1AppointmentRequest>*.

<https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1>Sent
from my mobile device
Envoye de mon portable

	[[alternative HTML version deleted]]



More information about the R-help mailing list