Use npm and webpack to build a new shiny widget (cytoscpe.js)

July 19, 2018 @pshannon Paul Shannon

@pshannon wrote:

5:36 PM (less than a minute ago)

We have a bioconductor package, RCyjs, whose functionality we wish to port to a shiny widget. RCyjs uses httpuv websockets to communicate between an R session and javascript in the browser - rather like shiny, but it lacks easy integration into a shiny app.

Is there an established protocol, maybe an example shiny widget, which uses npm and webpack to assemble a multitude of javascript libraries? This approach to webapp assembly has many merits (up-to-date versioning, dependency resolution, unused code elimination). I use this with RCyjs. It would be great to use it with this the shiny version as well. Any suggestions?

Thanks!

  • Paul

Posts: 3

Participants: 2

Read full topic

Previous Article
Question on managing long and heavy R code (one script VS multiple pieces)
Question on managing long and heavy R code (one script VS multiple pieces)

@taras wrote: I am having a pretty long multi-stage piece of R code, which takes...

Next Article
Resources for new R admins
Resources for new R admins

@ablack3 wrote: I am about to embark on the R admin journey. I'll be managing a ...