Hello!
lsProjects(), for example, does return what it says it returns, whereas lsSchemas() does not return the declared value (but it definitely should per the man page and the vignette!), instead it just prints out the available queries:
> lsSchemas
function (session)
{
print(.getSchemasAsList(session))
}
<environment: namespace:Rlabkey>
> lsProjects
function (baseUrl)
{
folders <- labkey.getFolders(baseUrl, "/", includeSubfolders = TRUE,
depth = 1)
folders <- folders[(folders$folderPath != "/"), ]
return(sort(as.array(folders$folderPath)))
}
<environment: namespace:Rlabkey>
So it is impossible to assign the output of lsSchemas() to a variable and to later use it (to return back to a Labkey R view, for example)
Thanks. |