AQL in R



Sorry for resending this question, but till now I still don’t know how to use AQL in R interface. Would appreciate if someone could provide some examples…



Dear Meng:

I guess that this question is about the ‘iquery’ function in the package. Try to stick with AFL if possible from this function.

As outlined in the package documentation, the ‘iquery’ function in the R package does not support AQL statements with the return=TRUE parameter. You can issue arbitrary AQL statements via this function as long as you don’t request that results be returned to R. If you need results returned to R using this function, use AFL.

The reason for this is that query results that are returned to R are composed with a save(…) operator and that syntax is AFL-specific right now.