Learn R Programming

Rlabkey (version 3.3.0)

labkey.rstudio.saveReport: Update RStudio report source back to LabKey

Description

LabKey-RStudio integration helper. Not intended for use outside RStudio.

Usage

labkey.rstudio.saveReport(folderPath, reportEntityId, reportFilename,
  useWarning = FALSE)

Arguments

folderPath

a string specifying the folderPath

reportEntityId

LabKey report's entityId

reportFilename

The filename to save

useWarning

(TRUE | FALSE) TRUE to prompt user choices to save

Examples

Run this code
if (FALSE) {
## RStudio console only
library(Rlabkey)
labkey.rstudio.saveReport(folderPath="home",
    reportEntityId="0123456a-789b-1000-abcd-01234567abcde",
    reportFilename="knitrReport.Rhtml", useWarning=TRUE)

}

Run the code above in your browser using DataLab