Skip to content

Latest commit

 

History

History
70 lines (56 loc) · 2.91 KB

File metadata and controls

70 lines (56 loc) · 2.91 KB
title
r-devel, drd, drp, rocker/r-devel-san, rocker/r-devel-ubsan-clang

Quick reference

Overview

These images are based on r-base and install prerelease version of R from source, separately from the release version of R. These prerelease version R can be executed with RD(for R-devel) or RP(for R-patched).

  • Both rocker/r-devel and rocker/drd are images for running R-devel; rocker/drd has a smaller image size because of the different Dockerfile configuration (layers).
  • rocker/drp has R-patched installed.
  • rocker/r-devel-san and rocker/r-devel-ubsan-clang provide R development binaries with Sanitizer support, for memory checking during R package development1. rocker/r-devel-san uses gcc, and rocker/r-devel-ubsan-clang uses clang.

:::{.callout-important}

rocker/r-devel-ubsan-clang must be use with docker run's --cap-add=SYS_PTRACE option. Otherwise, instrumented processes fail to start due to lacking permissions.

docker run --rm -ti --cap-add=SYS_PTRACE rocker/r-devel-ubsan-clang

Alternatively, an instrumented process can be run with ASAN_OPTIONS=detect_leaks=0, but this turns off leak detection.

:::

:::{.callout-tip}

rocker/r-ver:devel, rocker/rstudio:devel, rocker/tidyverse:devel, rocker/verse:devel also have R-devel installed.

:::

Footnotes

  1. Writing R Extensions