RStudio on Amazon SageMaker AI user guide - Amazon SageMaker AI

RStudio on Amazon SageMaker AI user guide

With RStudio support in Amazon SageMaker AI, you can put your production workflows in place and take advantage of SageMaker AI features. The following topics show how to launch an RStudio session and complete key workflows. For information about managing RStudio on SageMaker AI, see RStudio on Amazon SageMaker AI management.

For information about the onboarding steps to create an Amazon SageMaker AI domain with RStudio enabled, see Amazon SageMaker AI domain overview

For information about the AWS Regions that RStudio on SageMaker AI is supported in, see Supported Regions and Quotas

Collaborate in RStudio

To share your RStudio project, you can connect RStudio to your Git repo. For information on setting this up, see  Version Control with Git and SVN.

Note: Project sharing and realtime collaboration are not currently supported when using RStudio on Amazon SageMaker AI. 

Base R image

When launching your RStudio instance, the Base R image serves as the basis of your instance. This image extends the r-session-complete Docker image. 

This Base R image includes the following:

  • R v4.0 or higher

  • awscli, sagemaker, and boto3 Python packages

  • Reticulate package for R SDK integration

RSession application colocation

Users can create multiple RSession applications on the same instance. Each instance type supports up to four colocated RSession applications. This applies to each user independently. For example, if two users create applications, then SageMaker AI allocates different underlying instances to each user. Each of these instances would support 4 RSession applications.

Customers only pay for the instance type used regardless of how many Rsession applications are running on the instance. If a user creates an RSession with a different associated instance type, then a new underlying instance is created.