how to deploy my R code to Azure web

Yu Cai 100 Reputation points
2023-12-15T22:13:05.6033333+00:00

This is my task that I need to do: I want to have a simple web user interface that can receive the user's data input parameters. Then these input parameters can be processed in R model we developed. Then the calculated values and the plot can be shown in the web. may I ask what Azure service I should use.

Bing AI give me many methods: such as using Azure function, Azure Machine learning. I try to use Azure machine learning. It is a little confusing. In my opinion, the manual is not user friendly for beginners. Why not put a video directly on the web to show how to do it?

https://learn.microsoft.com/en-us/azure/machine-learning/how-to-r-interactive-development?view=azureml-api-2

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,568 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,284 questions
Azure R Server for HDInsight
Azure R Server for HDInsight
An Azure service that provides predictive analytics, machine learning, and statistical modeling for big data.
13 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yu Cai 100 Reputation points
    2023-12-20T18:46:04.67+00:00

    Thank you so much Yutong.

    As a beginner in Azure, I tried to following link and your above instructions.

    https://learn.microsoft.com/en-us/azure/machine-learning/how-to-r-interactive-development?view=azureml-api-2

    Based on my understanding, it will create a endpoint that only process it through CLI or SDK as an API application instead of user interface. Am I correct?

    The below is what I want to implement. I use R shiny to implement it locally. How can I deploy it to Azure to get such user interface and create a database that can store the user input?

    In your step 3: Create a Scoring Script: Create a scoring script in R that takes inputs and returns the output of your model. The script needs two functions: init() which loads your model, and run(input_data) which uses the model to predict on the input data. Is this function that can implement what I need?

    Thank you.

    User's image

    0 comments No comments