Hello,
The Rlabkey documentation for the colSelect parameter of labkey.selectRows states, "(optional) a vector of strings specifying which columns of a dataset or view to import. The wildcard character ("*") may also be used here to get all columns including those not in the default view."
On LabKey v18.1:
labkey.selectRows(
baseUrl = 'http://localhost:8080/labkey/',
folderPath = '/',
schemaName = 'core',
queryName = 'users',
colSelect = c("*")
)
returns:
Error in makeDF(mydata, colSelect, showHidden, colNameOpt) :
The column "*" specified in the colSelect variable does not exist in the result set. Be sure you are using the column name for colNameOpt="fieldname" and the column label for colNameOpt="caption". See the documentation for more details.
Called from: makeDF(mydata, colSelect, showHidden, colNameOpt)
This same call without the colSelect parameter defined returns the expected data frame populated with user attributes. Am I messing something up or is this a bug?
thanks,
-Will