|Did you know ...||Search Documentation:|
|Pack real -- README.txt|
Real is a c-based interface for connecting R to Prolog. See the documentation at doc/html/real.html for more information. There is also a paper doc/padl2013-real.pdf and a user's guide doc/guide.pdf, but they both refer to earlier versions of Real.
Real works on current versions of SWI and YAP. As of version 1.1 there is support for using Real on SWI web-servers.
This software can be distributed as GPL or Aristic 2.0, see prolog/real.pl.
To install stable versions:
pack_intall( real ).
Yap install Yap itself with configure --with-R
See doc/guide.pdf for further details on stable versions.
To get the latest git version goto
git clone git://www.swi-prolog.org/home/pl/git/packages/real.git
To install developmental versions do:
Install last stable real with
pack_install( real ).
pack_rebuild( real ). % to force SWI to build from sources.
and do again:
pack_rebuild( real ).
SWI-Prolog (b) clone real into pl-devel/packages/real add this to your build script export EXTRA_PKGS="real" build SWI from sources as per usual
Yap replace $YAP/packages/real with the development version you downloaded and rebuilt Yap with
pack('pack/real/examples/for_real')]. ?- for_real.
Yap ?- [examples/for_real]. ?- for_real.
Nicos Angelopoulos and Vitor Santos Costa December, 2012.
Updates: Nicos Angelopoulos Dec, 2013 Mar, 2014 May, 2015 Jan, 2016