Rlabkey (version 2.2.4)

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/wiki/home/Documentation/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("http://www.labkey.org", "/home")

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

# }

Run the code above in your browser using DataLab