Learn R Programming

Rlabkey (version 2.8.0)

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
# NOT RUN {
## RStudio console only
library(Rlabkey)
labkey.rstudio.initRStudio(apiKey="session|abcdef0123456789abcdef0123456789",
    baseUrl="http://labkey/", folderPath="home")

# }

Run the code above in your browser using DataLab