This repository has been archived on 2021-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
rserve-sandbox-bin/README.md

57 lines
1.4 KiB
Markdown

# rserve-sandbox-bin
A precompiled version of `rserve-sandbox`.
## NOTE
The Makefile in this branch is not intendended to be run manually.
Post
[installation](https://frnmst.github.io/swish-installer/swish-installer.html#Install-actions)
and
[remove](https://frnmst.github.io/swish-installer/swish-installer.html#Remove-actions)
hooks are needed before you can actually run this.
## What is this about
This is an alternative method to install
[rserve-sandbox](https://github.com/frnmst/rserve-sandbox)
The advantage of using this method is that no building or dependency
downloading is required, meaning that there is supposedly no risk of failure
during the setup phase. The download time is however much longer.
This image was obtained with
$ sudo -u rsd docker save rserve > rserve.tar
using the [AUR package](https://aur.archlinux.org/packages/rserve-sandbox-docker)
of `rserve-sandbox`.
## Installation
You need to install and enable the Docker service.
### Makefile targets
- `load`
- Loads the Docker image `rserve` available in this repository.
- `remove`
- Removes the current image.
- `run`
- Starts the Rserve container. This creates a Unix domain
socket `/home/rserve/socket` that allows contacting
the R server.
- `stop`
- Stops and removes the current container.
## License
Copyright (c) 2017, Franco Masotti.
2-Clause BSD (aka FreeBSD).