Rlabkey (version 3.2.1)

labkey.rstudio.initRStudio: Initialize a RStudio session for LabKey integration

Description

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

Usage

labkey.rstudio.initRStudio(apiKey = "", baseUrl = "", folderPath, skipViewer = 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

skipViewer

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

Examples

Run this code
if (FALSE) {
## RStudio console only
library(Rlabkey)
labkey.rstudio.initRStudio(apiKey="abcdef0123456789abcdef0123456789",
    baseUrl="http://labkey/", folderPath="home")

}

Run the code above in your browser using DataLab