inst/reports/report-exec.R

#!/usr/bin/Rscript

library(opal)

input <- commandArgs(TRUE)[1]
output <- commandArgs(TRUE)[2]

options(opal.url="http://demo.obiba.org:8080",
        opal.username="administrator",
        opal.password="password",
        opal.datasource="onyx",
        opal.table="StandingHeight",
        opal.withStatistics=TRUE,
        opal.withGraphs=TRUE,
        opal.report.style="Flatly")

opal.report(input, output, progress=TRUE)
datashield/opal documentation built on May 14, 2019, 7:53 p.m.