Learn R Programming

rolog (version 0.9.21)

consult: Consult a prolog database

Description

Consult a prolog database

Usage

consult(fname = system.file(file.path("pl", "family.pl"), package = "rolog"))

Value

TRUE on success

Arguments

fname

file name of database

See Also

once(), findall(), and query()/submit()/clear() for executing queries

Examples

Run this code
consult(fname=system.file(file.path("pl", "family.pl"), package="rolog"))
findall(call("ancestor", quote(pam), expression(X)))

Run the code above in your browser using DataLab