skip to Main Content

When users were creating a new compute in AML environment by default RStudio application was created.
RStudio application

However, from month of July, by default RStudio application is not getting created. Only JupyterLab, Jupyter, VS Code, Terminal, Notebook applications installed not a RStudio.

without RStudio

Is there any way to install RStudio application in azure ML compute instance?

2

Answers


  1. The compute instances setup was changed. As RStudio workbench is professional edition, we need to get the license from RStudio and then use that workbench license in Compute Instance creation in Advanced settings.

    enter image description here

    By default, the instances will not have the RStudio. The procedure starts will Add Application under compute instances.

    enter image description here

    Select CPU or GPU as required and then choose the VM Size. By default, using the Standard_DS12_v2 version of VM. Click on Create

    enter image description here

    Under Advanced Settings click on Add Application.

    Go to RStudio and get the license for workbench.

    enter image description here

    enter image description here

    Get the license from RStudio Workbench

    enter image description here

    Give the details required and target the port 8787 and published port will be 8787.
    Open RStudio which was downloaded with license.

    1. Select Custom Application under Applications
    2. Fill the details of the applications, like Application Name
    3. Set the target port as 8787
    4. Set the publish port as 8787
    5. Set the Docker image as the target.
    6. Under /home/azureuser/cloudfiles set the Host path and Container path
    7. Click on Create

    enter image description here

    To access the RStudio services, go to the left panel and check with the compute instance which we created.

    enter image description here

    We can see the rstudio-workbench in the applications.

    Login or Signup to reply.
  2. If you want to still use RStudio OpenSource you can do the following:

    1. Follow the steps listed above to Add application when creating your compute instance.
    2. Select Custom Application on the Application dropdown
    3. Configure the Application name you would like to use.
    4. Set up the application to run on Target port 8787 – the docker image for RStudio open source listed below needs to run on this Target port.
    5. Set up the application to be accessed on Published port 8787 – you can configure the application to be accessed on a different Published port if you wish.
    6. Point the Docker image to ghcr.io/azure/rocker-rstudio-ml-verse:latest.
    7. Use Bind mounts to add access to the files in your default storage account:
    8. Specify /home/azureuser/cloudfiles for Host path.
    9. Specify /home/azureuser/cloudfiles for the Container path.
    10. Select Add to add this mounting. Because the files are mounted, changes you make to them will be available in other compute instances and applications.
    11. Select Create to set up RStudio as a custom application on your compute instance.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search