/swish/pack/rserve_client/prolog/r/r_call.pl
All Application Manual Name SummaryHelp

  • prolog
    • r
      • r_call.pl -- R plugin for SWISH
        • r_open_hook/2
        • <-/2
        • <-/1
        • r_call/2
        • r_console/2
        • r_execute/3
        • r/4
        • r_init_session/1
        • r_setup_graphics/2
        • r_display_images/1
      • r_serve.pl -- SWI-Prolog Rserve client
      • r_grammar.pl -- R parser primitives
      • r_term.pl -- Translate a Prolog term into an R expression
      • r_expand_dot.pl
      • r_data.pl -- R data frame handling
      • r_sandbox.pl -- Declare the R API safe
 r_call(+Fun, +Options)
Construct and possibly call an R function. Fun can be an atom or a compound, eg plot, or plot(width=3). The predicate also supports multiple output destinations. Options processed:
call(Bool)
If false (default true), do not call the result.
fcall(-Term)
Term is unified with the constructed call
rvar(Var)
Variable for the output
Compatibility
- This is a partial implementation of the corresponding real predicate.