Learn R Programming

rolog (version 0.9.21)

rolog_options: Quick access the package options

Description

Quick access the package options

Usage

rolog_options()

Arguments

Value

list with some options for translating R expressions to prolog

Details

Translation from R to Prolog

  • numeric vector of size N -> realvec/N (default is ##)

  • integer vector of size N -> intvec/N (default is %%)

  • boolean vector of size N -> boolvec/N (default is !!)

  • character vector of size N -> charvec/N (default is $$)

  • scalar: if TRUE (default), translate R vectors of length 1 to scalars

  • portray: if TRUE (default) whether to return the prolog translation as an attribute to the return value of once(), query() and findall()