Say I have a data.table like: dt <- data.table(x=rnorn(1000),y=rnorm(1000)) I have to construct a i statement dynamically, for example the result could be iExpr <- 'x>1 & y<.045'
How can I evaluate dt[x>1 & y<.045] using iExpr ? -- View this message in context: http://r.789695.n4.nabble.com/Idiomatic-way-of-using-expression-in-i-tp4711229.html Sent from the datatable-help mailing list archive at Nabble.com. _______________________________________________ datatable-help mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
