Learn R Programming

Rlabkey (version 2.8.0)

lsFolders: List the available folder paths

Description

Lists the available folder paths relative to the current folder path for a LabKey session

Usage

lsFolders(session)

Arguments

session

the session key returned from getSession

Value

A character array containing the available folder paths, relative to the project root. These values can be set on a session using curFolder<-

Details

Lists the available folder paths relative to the current folder path for a LabKey session

References

https://www.labkey.org/Documentation/wiki-page.view?name=projects

See Also

getSession, lsProjects, lsSchemas

Examples

Run this code
# NOT RUN {
##get a list if projects and folders
# library(Rlabkey)

lks<- getSession("https://www.labkey.org", "/home")

#returns values "/home" , "/home/_menus" , ...
lsFolders(lks)

# }

Run the code above in your browser using DataLab