I am trying to run a huge boolean sqldf in for a local dataframe in R like so:
sqldf("UPDATE df SET STORE_FLAG = 1
WHERE CONTENTS RLIKE '(([[:<:]]store[[:>:]]))'", drv='SQLite')
Query abbreviated above. The actual query is 20 words long with near functions
However, I have a syntax error using the RLIKE function:
Error in sqliteSendQuery(con, statement, bind.data) :
error in statement: near "RLIKE": syntax error
Is there a way to use RLIKE with the sqldf library?