R: List the available folder paths

lsFolders {Rlabkey} | R Documentation

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

### Details

Lists the available folder paths relative to the current folder path for a LabKey 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<-

### Author(s)

Peter Hussey

### References

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

### See Also

`getSession`, `lsProjects`, `lsSchemas`

### Examples

    ##get a list if projects and folders
    # library(Rlabkey)

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

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

[Package Rlabkey version 2.8.1 Index]