Description Usage Arguments Value
This function converts R expressions to Datalog. The following rules apply when converting expressions to Datalog:
Infix operators are converted to prefix
Function calls are converted to S-expressions (e.g. max(v) is converted to (max v))
The .
symbol is converted to _
String containing the /
character are assumed to represent
qualified symbol names and are converted by pre-prending the :
character
Names prefixed with !!
are assumed to represent R symbols and are substituted
with their bound value
Note the following:
This function only performs syntax conversion and does not check the correctness of the resulting expressions
For the same reason, even though you may use function names that exist in R
(e.g. max
), this function is not actually invoking the corresponding R
function at all, therefore you should not assume that you can pass it the same arguments
that you would in R. For instance the expression max(v, is.na = TRUE)
would make no sense
since the R max
function is not invoked at any point during the conversion process
1 |
... |
The epxressions to convert to Datalog |
Returns a list of strings where each element
corresponds to the string representation of the corresponding expression
in ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.