Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

labkey.rstudio.initReport

Initialize a RStudio session for LabKey R report source editing


Description

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

Usage

labkey.rstudio.initReport(apiKey = "", baseUrl = "", folderPath,
  reportEntityId, skipViewer = FALSE, skipEdit = FALSE)

Arguments

apiKey

session key from your server

baseUrl

server location including context path, if any. e.g. https://www.labkey.org/

folderPath

a string specifying the folderPath

reportEntityId

LabKey report's entityId

skipViewer

(TRUE | FALSE) TRUE to skip setting up LabKey schema viewer in RStudio

skipEdit

(TRUE | FALSE) TRUE to open file in editor

Examples

## RStudio console only
library(Rlabkey)
labkey.rstudio.initReport(apiKey="session|abcdef0123456789abcdef0123456789",
    baseUrl="http://labkey/", folderPath="home",
    reportEntityId="0123456a-789b-1000-abcd-01234567abcde")

Rlabkey

Data Exchange Between R and 'LabKey' Server

v2.6.0
Apache License 2.0
Authors
Peter Hussey
Initial release
2021-02-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.