r_session

WARNING : This library has been superseded by r..eal. R_session is no longer developed but we are happy to provide fixes.

This is a simple Prolog library to run slave R sessions. Each R session is started as an operating system process whose streams are used for passing commands to it and receiving output and error from it. The sources include PlDoc documentation. The library allows access to R functions. For example it can be used to access the plot functions to produce high quality plots from Prolog objects (especially lists of numbers).

The library runs on SWI and Yap prolog systems.

r_session (0:1:0)


published on : 2012/07/17

Download the ---- This library is part of SWI prolog: use_module(library('R')).
---- It is also part of Yap prolog: use_module(library(r_session))
---- The version here is always latest (check with r_session_version/1).

To see the PlDoc documentation in browser :

  • ?- ensure_loaded( library(pldoc) ).
  • ?- [r_session].
  • ?- doc_server(4000).
  • Then point your browser at http://localhost:4000


Last update 20012-07-19