I\'m trying to use the sqldf package inside a user-defined function in r with generic column names. I can only get it to work if the variable names match placeholder variabl