Learn R Programming

Rlabkey (version 3.3.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)

Value

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

Arguments

session

the session key returned from getSession

Author

Peter Hussey

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
if (FALSE) {

##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