---
title: "R Module Overview"
slug: "r-module-overview"
description: "This document shows how to install, setup, and run the R Module in Decisions, to execute R Script. The document includes a thorough tutorial on how to use this Module in Decisions. "
updated: 2026-04-08T17:47:07Z
published: 2026-04-08T17:47:07Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt
> Use this file to discover all available pages before exploring further.

# R Module Overview

## Overview

| ## Module Details |
| --- |
| **Installation Location** | Core module |
| **Step Location** | Integration > R |
| **Settings Location** | N/A |
| **Prerequisites** | R installed R Module [Installed](/v9/docs/installing-modules-decisions) Project Dependency [created](https://documentation.decisions.com/docs/project-dependencies) |

The **R Module**allows a user to execute R scripts**. R**is a programming language that is used for statistical computing and graphics.

---

## Prerequisites

- The R Module will need to be installed. To learn how to install modules, click [here](https://documentation.decisions.com/docs/available-modules?highlight=R%20mo).
- To run R scripts, install R on the system by going to [https://cran.r-project.org/bin/windows/base/](https://cran.r-project.org/bin/windows/base/).
- [A Project dependency](https://documentation.decisions.com/docs/project-dependencies) must be established.

Note for Third-Party Systems and SubscriptionsCustomers are responsible for securing and maintaining accounts with third-party systems and subscriptions.

## Considerations

Users should note that the R Module does not work in **containers** for the current and previous versions.

Security RiskThis add-on module provides scripting capability.  Administrators acknowledge and accept full responsibility for securing the environment ahead of installing and using it.

---

## ProjectHub

A dependency must be made with the R module before any of the module's functionality can be accessed within a Project. All scripts are kept within a folder under the Manage section: [**Project Name] >** **Manage > Integrations > Scripting.**

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2024-07-31_14h45_08.png)

Starting in **v9.2**, there is the ADD SCRIPT FOLDER action that will create new scripting folders within the primary R folder. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1721934817373.png)

In **v9.6** and above, script folders can be deleted by right-clicking the folder, then selecting **Manage | More > Delete**.

## System Level

R scripts can also be created and stored at the System level. Projects will not be able to access these directly. However, Users can move the script folder and its scripts to a specific Project by right-clicking and selecting **Manage | Move to Project.**

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2024-12-23_09h25_10.png)

---

## Example

This example will demonstrate how to execute an R script.

1. Navigate to **Settings > R Module Settings** and enter the path where R is installed. Then, click SAVE.  
![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2024-07-31_14h47_09.png)
2. Navigate to **[Project Name] > Manage > Integrations > Scripting**. Right-click on**R Script Projects**and select **Add Script Project.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1725287490612.png)**
3. Name the Script Project (R Test Script) and click SAVE.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1725287549561.png)
4. Right-click on the R Script Project and select **Add Script**.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1725287567707.png)
5. Name the Script (R Example Script) and upload a valid R file. Then, click SAVE.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1725287622863.png)
6. Inside the same Project, click CREATE FLOW on the **Global Action Bar** and select **Flow**. Name the Flow (R Module Flow) and click CREATE.
7. Click on the **Done**path of the **Start**step. Navigate to **Integrations > All Integrations > R > R Test Script**. Select the **Example R Script** step and click ADD.
8. Connect the **Success**and **Error**paths to the **End**step. Then, click **Save**to save changes to the Flow. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2024-09-02_11h01_56.png)

## Debug

1. On the top action bar, click **Debug**. Then, click START DEBUGGING.
2. After the debugger runs, click on the script step, click **Execution 1**, and select **View Output Data**. The Output Data will display the execution of the R script.

---

## Feature Changes

| Description | Version | Release Date | Developer Task |
| --- | --- | --- | --- |
| ADD SCRIPT FOLDER action is now available in the main R folder. | [9.2](https://documentation.decisions.com/v99/docs/version-92x-release-notes) | August 2024 | [DT-041378] |
| Script folders now have a delete action. | [9.6](https://documentation.decisions.com/v99/docs/version-96x-release-notes) | January 2025 | [DT-042782] |
| Script folders can now be moved to a Project folder. | [9.6](https://documentation.decisions.com/v99/docs/version-96x-release-notes) | January 2025 | [DT-042781] |
| R and SolaceMQ Modules have been removed from the module list for container environments and can no longer be installed. | [9.16](https://documentation.decisions.com/v99/docs/version-916-release-notes#breaking-changes) | October 2025 | [DT-045648] |
| The icon image for the R Module folder has been updated. | 9.23 | April 2026 | [DT-047199] |

---

For further information on Modules, visit the [Decisions Forum](https://community.decisions.com/categories/Modules).
