diff options
author | Prashant S | 2019-07-17 18:56:33 +0530 |
---|---|---|
committer | GitHub | 2019-07-17 18:56:33 +0530 |
commit | 2d1aebdc284912cc2145c12f2729e79b8e4c40c0 (patch) | |
tree | ec690d610609a7939938ca2f7e693fb2153136d1 | |
parent | ace97e1bf64c0fe3d6226d27dc83aa0a49a81e94 (diff) | |
download | R_on_Cloud_Web_API-2d1aebdc284912cc2145c12f2729e79b8e4c40c0.tar.gz R_on_Cloud_Web_API-2d1aebdc284912cc2145c12f2729e79b8e4c40c0.tar.bz2 R_on_Cloud_Web_API-2d1aebdc284912cc2145c12f2729e79b8e4c40c0.zip |
Updated the readme for shell script package installation
-rw-r--r-- | README.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 + |