summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2019-07-17 19:13:12 +0530
committerprashantsinalkar2019-07-17 19:14:38 +0530
commit5ca1083b17c445ee599802db8106c52a2fbadeaf (patch)
tree02b415c2c3c2d90cb71ecb3de66a6041d8cb149f
parentcb7179bdb376477cd6408ef84be6854efd8bfed8 (diff)
downloadR_on_Cloud_Web_API-5ca1083b17c445ee599802db8106c52a2fbadeaf.tar.gz
R_on_Cloud_Web_API-5ca1083b17c445ee599802db8106c52a2fbadeaf.tar.bz2
R_on_Cloud_Web_API-5ca1083b17c445ee599802db8106c52a2fbadeaf.zip
added un file to execute R api
-rw-r--r--run.R4
1 files changed, 4 insertions, 0 deletions
diff --git a/run.R b/run.R
new file mode 100644
index 0000000..6733c2e
--- /dev/null
+++ b/run.R
@@ -0,0 +1,4 @@
+
+library(plumber)
+r <- plumb("plumber.R") # Where 'plumber.R' is the location of the file shown above
+r$run(host="0.0.0.0", port=8001, swagger=TRUE) \ No newline at end of file