Skip to content

profmem

0.7.0Package record

Simple Memory Profiling for R

1packages dependsuggested by 2
337.6Kdownloads / year
96.6%test coverage
13/13flavors OK

Overview

About

A simple and light-weight API for memory profiling of R expressions. The profiling is built on top of R's built-in memory profiler ('utils::Rprofmem()'), which records every memory allocation done by R (also native code).

Changes in 0.7.0

New Features

  • profmem() gained argument on_error to control what should happen when there is a run-time error during profiling. Known actions are "error", "warning", and "ignore" (default).
  • print() for Rprofmem objects now report on any run-time errors that occurred while profiling the R expression.
  • print() for Rprofmem objects gained logical argument `calls' to control whether calls ("traces") are outputted.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.7 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.7.0
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.7.0Citation fileNoWebsiteYes · pkgdown
Help pages
3 (1 internal)
Examples that run
100%2 run in a plain check
Exported functions with examples
67%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
33%

Downloads

337.6K
CRAN downloads in the past year
Rank #833 · ~925/day · ~28.1K/mo
Daily download trend is not available in this view yet.
16.4K30 days
53.7K90 days
337.6K1 year
Compare downloads with other packages →
Also on7.6K r2u136 autocran2.2K conda_forge77 c2d4u

Repository

39Stars
2Forks
4Open issues
0Open PRs
0Releases
180Commits
1Commit identities
rpackagecranmemory-profilerramperformance
180 commits · Last activity 2025-05-02 · 0% stars, 30d · Default branch at 0.7.0-9000, ahead of CRAN 0.7.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-08-29 · 382026-07-07 · 39
PracticesBeta

8 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/henrikbengtsson/profmem on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductContributing guide
Docs source (1)

GitHub Pages site last deployed 2025-05-02

Coverage (1)
Coverage reporting
Show all practicesHide 2 practices
Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
revdep/
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing profmem adds no packages beyond those that come with R.

Depends (0)
none
Imports (1)
utils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
3indirect
Imports 1
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.4.0 (2016), Copyright holder
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.7.0Latest
    record
    2025-05-02 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.6.0
    record
    2020-12-13 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.5.0
    record
    2018-01-30 · diff ↗ ·
    added 6 exports
    profmem_begin, profmem_depth, profmem_end, profmem_resume, profmem_status, profmem_suspend
  • R
    R 3.4.0 released · 2017-04-21
  • 0.4.0
    record
    2016-09-15
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-09-15
Total releases
4 / 10 yrs
License
LGPL (>= 2.1)
Download size
19 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("profmem")
Bengtsson, H. (2025). profmem: Simple Memory Profiling for R (Version 0.7.0) [Computer software]. https://doi.org/10.32614/CRAN.package.profmem

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for profmem version 0.7.0 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy