inst/rook/run.R

require("gWidgetsWWW2.rapache")
require(Rook)

s <- Rhttpd$new()
s$add(RhttpdApp$new(
    name="gw",
    app=system.file('rook', 'rook.R', package="gWidgetsWWW2.rapache")
))
s$add(RhttpdApp$new(
    name="gw_static",
    app=system.file('rook', 'static.R', package="gWidgetsWWW2.rapache")
))
s$start(port=8999L)
jverzani/gWidgetsWWW2.rapache documentation built on May 20, 2019, 5:19 a.m.