On 10/13/16 17:45, Franco Masotti wrote:
> Hello,
>
> I am trying to setup SWISH with Rserve.
>
> The docker part [1] works flawlessly (socket is present in
> /home/rserve/socket). However I'm missing something in the client part [2] .
> What I did was to add
> :- use_module(lib/r_swish).
> to
run.pl [3] just below
> :- use_module(server).
> Now, when I go in the query section and type the following:
> <- 'R.Version'().
>
> I get:
> "
> No permission to call sandboxed `r_assign_(_1092 [...]
> Reachable from:
> [...]
> "
>
> Without adding the previous line to
run.pl I get a syntax error, so I
> think I'm on the right track.
>
> In the readme file of rserve_client two ways are indicated:
> "
> 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.|
> "
>
> I'm interested in the first one: run Rserve in a tight OS container and
> load |library(r/r_sandbox)
> |
> How should this be done?