summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md11
1 files 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
+