Get started with R in SageMaker
This topic explains how to get started using the R software environment in SageMaker. For more information about using R with SageMaker, see Resources for using R with Amazon SageMaker.
To get started with R in the SageMaker console
-
Create a notebook instance using the t2.medium instance type and default storage size. You can pick a faster instance and more storage if you plan to continue using the instance for more advanced examples, or you can create a bigger instance later.
-
Wait until the status of the notebook is In Service, and then choose Open Jupyter.
-
Create a new notebook with R kernel from the list of available environments.
-
When the new notebook is created, you should see an R logo in the upper right corner of the notebook environment, and also R as the kernel under that logo. This indicates that SageMaker has successfully launched the R kernel for this notebook.
Alternatively, when you are in a Jupyter notebook, you can use the Kernel menu, and then select R from the Change kernel submenu.