R: Update RStudio report source back to LabKey

labkey.rstudio.saveReport {Rlabkey} | R Documentation

## 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

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

[Package Rlabkey version 2.3.2 Index]