Query 'SWI'-'Prolog' from R
Translate simplified to canonical representation
Clear current query
Consult a prolog database
Invoke a query several times
Invoke a query once
Translate an R call to a prolog compound and pretty print it
Default hook for postprocessing
Default hook for preprocessing
Create a query
Clean up when detaching the library
Start prolog
Check if rolog is properly loaded
Quick access the package options
Submit a query that has been opened with query() before.
This R package connects to SWI-Prolog, <https://www.swi-prolog.org/>, so that R can send deterministic and non-deterministic queries to prolog (consult, query/submit, once, findall).