Pack Ann: New versions proSQLite 1.0 and Real 1.2

13 views
Skip to first unread message

nicos.ang...@gmail.com

unread,
Jan 3, 2015, 11:26:45 AM1/3/15
to swi-p...@googlegroups.com

proSQLite 1.0
   
Prolog interface to zero configuration database SQLite

Changes in new version
    * (better) support for UTF (see ?- [pack(prosqlite/example/predicated)] )
    * SQLite blobs -> Prolog strings

 Many thanks to Samer Abdallah who provided patches for both of the above.

 Install
    ?- pack_install( prosqlite ).
    ?- pack_rebuild( prosqlite ).    % if you compile SWI from sources on Linux

 Example
    ?- [pack(prosqlite/examples/simple)].
    ?- simple.

 Website:
    http://stoics.org.uk//sware/prosqlite


Real 1.2

Integrative statistics with R.

Changes in new version
   * Prolog matrices can be list of terms as well as lists of lists
    * '' and '$NaN' in numerical matrices and vectors are passed as NA values to R
    * C-code restructured, particularly to accommodate SWI-7 lists; (backwards compatible)

 Install
    ?- pack_install( real ).
    ?- pack_rebuild( real ).    % if you compile SWI from sources on Linux

 Example
    ?- [pack(real/examples/for_real)].
    ?- for_real.

   ?- x <- [row('$NaN',2,3),row(4,5,'')].                % pass some Prolog data to R variable x
   ?- <- x.                                                       % display contents of R variable x
     [,1] [,2] [,3]
[1,]   NA    2    3
[2,]    4    5   NA
true.

   ?- X <- x.                                                    % pass R variable x to Prolog variable X
   X = [['$NaN', 2, 3], [4, 5, '$NaN']].

 Website:
    http://stoics.org.uk/sware/real


If you are using either software, consider letting us know of
your application area and usage scenario.
Also welcome fixes, comments and bug reports.

For contact details see:
  http://stoics.org.uk/sware/contact.html



Nicos Angelopoulos
---
http://stoics.org.uk/~nicos
Reply all
Reply to author
Forward
0 new messages