Skip to content

nolis-llc/r-api-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R API Tutorial (with docker!)

This code is what was used in our blog posts on using R to make an API and using R with docker.

The three R files are used to create a simple API with the plumber R library. The dockerfile can be used to take the API and create a docker container with it.

To run the API directly, run the main.R script (or deploy the container). Then go to http://127.0.0.1/predict_petal_length?petal_width=1 to run the model on a petal width of 1.

About

An example of using plumber and docker to create an API around a model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages