Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (13 sloc) 497 Bytes
#!/usr/bin/Rscript
library(opal)
# change report input path to fit your environment
input <- "inst/reports/tutorial/opal-prod.Rmd"
# change the output directory to fit your environment
output <- "/tmp"
# set report options
options(opal.url="http://demo.obiba.org:8080",
opal.username="administrator",
opal.password="password",
opal.report.style="Flatly")
# expected report path is the html file in the output directory
opal.report(input, output=output, progress=TRUE)