r

pdk
A module for installing R

8,090 downloads

163 latest version

2.0 quality score

Version information

  • 0.2.0 (latest)
  • 0.1.0
released Jul 9th 2024
This version is compatible with:
  • Puppet Enterprise 2025.4.x, 2025.3.x, 2025.2.x, 2025.1.x, 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2021.7.x
  • Puppet >= 7.24 < 9.0.0
  • RedHat

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'NeilHanlon-r', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add NeilHanlon-r
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install NeilHanlon-r --version 0.2.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: redhat, install, r

Documentation

NeilHanlon/r — version 0.2.0 Jul 9th 2024

Puppet R module

This module gives you the ability to install R, but also R packages.

Usage

To install R you need to include the class...

class { 'r': }

Then define any packages you want to be installed...

r::package { 'ggplot2': }
r::package { 'reshape': }

To define a package, and all required dependencies, use this format: r::package { 'reshape': dependencies => true, }

on RHEL/CentOS machines, make sure you have EPEL enabled, or R won't install properly.