Skip to main content

Getting started with R

The process to get started with R will be very similar to what is explained on Getting started with Python. The difference will be that you will need xeus-r kernel in your environment and R packages.

Use the R default environment

The steps to select an environment and create a projects are the same as depicted in Getting started with Python

Create a custom environment

The steps to create a custom environment are the same as in Getting started with Python. In the following video, you can see the creation of an an environment with xeus-r kernel and ggplot2 packages and its real-time environment resolution. Don't forget to save the new environment once the resolution has been processed.

warning

R packages need to be prefixed with r-. For example ggplot2 will be r-ggplot2.