Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

RStudio on Amazon SageMaker AI user guide

Focus mode
RStudio on Amazon SageMaker AI user guide - Amazon SageMaker AI

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.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.