From 2d1aebdc284912cc2145c12f2729e79b8e4c40c0 Mon Sep 17 00:00:00 2001 From: Prashant S Date: Wed, 17 Jul 2019 18:56:33 +0530 Subject: Updated the readme for shell script package installation --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2954027..b7a4f66 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,17 @@ # R_on_Cloud_Web_API - +Run following Steps : +1) Install R on machine. +2) $ chmod +X packageinstall.sh +3) $ ./packageinstall.sh +4) $ Rscript run.R +5) Check in browser http://127.0.0.1:8000/\_\_swagger_\_\/ +**----------------------------------------------------------------------------** **Run on local R console:** R version 3.4.4 **Requirements preinstalled R packages:** - install.packages("plumber") install.packages("jsonlite") install.packages("readr") @@ -14,6 +19,7 @@ R version 3.4.4 install.packages("tryCatchLog") install.packages("ggplot2") ------------------------------------------ + #run.R > library(plumber) > r <- plumb("plumber.R") # Where 'plumber.R' is the location of the file shown above > r$run(port=8001) @@ -28,3 +34,4 @@ R version 3.4.4 + -- cgit