Did you know ... | Search Documentation: |
Packs (add-ons) for SWI-Prolog |
Title: | R Rserve client |
---|---|
Rating: | Not rated. Create the first rating! |
Latest version: | 1.1.4 |
SHA1 sum: | c6ef865f1cd9fe393213dd273fce13e96e4cb249 |
Author: | Jan Wielemaker <jan@swi-prolog.org> |
Maintainer: | Jan Wielemaker <jan@swi-prolog.org> |
Packager: | Jan Wielemaker <jan@swi-prolog.org> |
Home page: | https://github.com/JanWielemaker/rserve_client |
Download URL: | https://github.com/JanWielemaker/rserve_client.git |
Requires: | prolog:c_cxx(_44856) |
No reviews. Create the first review!.
packages("Rserve")
This library is configured as a SWI-Prolog pack. It can be installed
using the command below. The installation requires git
, autoconf
and
the common C++ build tools.
?- pack_install('rserve_client').
This is tested on Ubuntu (14.04 and 16.04). It performs these steps:
rserve.so
This package is primarily intended for accessing R in server environments such as SWISH. We created a Docker container that runs Rserve in a sandbox. The container exposes Rserve using a Unix-domain socket at the following address:
/home/rserve/socket
With SWISH and is interface installed in adjacent directories, i.e., below the same parent, R may be linked to SWISH doing
:- use_module(lib/r_swish).
Now, R is not safe. You should either run Rserve in a tight OS container
and load library(r/r_sandbox)
or run SWISH in authenticated mode by
loading lib/authenticate.pl.
User libraries
Implementation libraries
This is just a proof of context. Obviously missing functionality:
This interface is inspired by Real by Nicos Angelopoulos. Main differences:
Pack contains 13 files holding a total of 78.4K bytes.