Learn R Programming

Rlabkey (version 2.1.121)

getFolderPath: Reutrns the folder path associated with a session

Description

Returns the current folder path for a Labkey session

Usage

getFolderPath(session)

Arguments

session
the session key returned from getSession

Value

  • A character array containing the folder path, relative to the root.

Details

Returns a string containing the current folder path for the passed in Labkey session

References

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

See Also

getSession lsFolders

Examples

Run this code
# library(Rlabkey)

lks<- getSession(baseUrl="http://localhost:8080/labkey", folderPath="/apisamples")
getFolderPath(lks)  #returns "/apisamples"

Run the code above in your browser using DataLab