RLabkey makeFilter with filters as variable?

LabKey Support Forum (Inactive)
RLabkey makeFilter with filters as variable? Ben Bimber  2018-01-15 19:44
Status: Closed
 
hi cory,

are you sure about that example? from what i can tell, R converts the rbind of the two vectors into a list. at least from everything i tried, when you pass a list to makeFilter you either get an error or filters not being applied (because it was being interpreted as a single long vector). I was able to find:
do.call(makeFilter, argList). from the earlier example, it's sometihng like:


filters <- list(
     c('myColumn', EQUAL,'value1'),
     c('myColumn2',EQUAL,'value2)
)
filter <- do.call(makeFilter, filters)

and this seems to work.