TOM is an R package designed as an API running on top of R software.
What is R ? (cf. wikipedia):
R is a programming language and software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing. The R language is widely used among statisticians and data miners for developing statistical softwareand data analysis. Polls, surveys of data miners, and studies of scholarly literature databases show that R's popularity has increased substantially in recent years.
TOM is installed as follows:
1 2 3 4 5
apt-get -y install r-base apt-get -y install libcurl4-openssl-dev R -e 'install.packages("plumber")' wget https://gitlab.forge.orange-labs.fr/lucy/ihl/TOM/raw/master/src/TOM_release/TOM_0.1.tar.gz R -e 'install.packages("TOM_0.1.tar.gz", repos=NULL)'
TOM API Deployment¶
Deployment directly on working machine¶
R -e 'TOM::run(8000)'
Deployment on Docker ( recommanded)¶
1 2 3 4
mkdir TOM_docker wget https://gitlab.forge.orange-labs.fr/lucy/ihl/TOM/raw/master/src/TOM_docker/Dockerfile -P TOM_docker/ docker build -t tom_img TOM_docker/ docker run --name tom_ctn -d -p 8000:8000 tom_img