require(qrmarkdown)
message( 'q.push test ')
q.dispatcher(printq = FALSE)
# create new job rmarkdown template
q.new()
# save it to your location with file name. ie./tests/mytest.Rmd
jid <- q.push(name = "My Report Job",
script='tests/mytest.Rmd')
q.ls(jid)
q.show()
# keep output
jid <- q.push(name = "My Report Job",
script='tests/mytest.Rmd',
outputfile = 'tests/Jan.Report.html')
q.ls(jid, view.output=TRUE)
q.rm('*')
q.shutdown()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.