Amazon SageMaker AI feature integration with RStudio on Amazon SageMaker AI - Amazon SageMaker AI
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon SageMaker AI feature integration with RStudio on Amazon SageMaker AI

One of the benefits of using RStudio on Amazon SageMaker AI is the integration of Amazon SageMaker AI features. This includes integration with Amazon SageMaker Studio Classic and Reticulate. The following gives information about these integrations and examples for using them.

Use Amazon SageMaker Studio Classic and RStudio on Amazon SageMaker AI

Your Amazon SageMaker Studio Classic and RStudio instances share the same Amazon EFS file system. This means that files that you import and create using Studio Classic can be accessed using RStudio and vice versa. This allows you to work on the same files using both Studio Classic and RStudio without having to move your files between the two. For more information on this workflow, see the Announcing Fully Managed RStudio on Amazon SageMaker AI for Data Scientists blog.

Use Amazon SageMaker SDK with reticulate

The reticulate package is used as an R interface to Amazon SageMaker Python SDK to make API calls to Amazon SageMaker. The reticulate package translates between R and Python objects, and Amazon SageMaker AI provides a serverless data science environment to train and deploy Machine Learning (ML) models at scale. For general information about the reticulate package, see R Interface to Python.

For a blog that outlines how to use the reticulate package with Amazon SageMaker AI, see Using R with Amazon SageMaker AI.

The following examples show how to use reticulate for specific use cases.