An open API service indexing awesome lists of open source software.

https://github.com/r-prof/procmaps

Portable Address Space Mapping in R
https://github.com/r-prof/procmaps

r system-utility

Last synced: 3 months ago
JSON representation

Portable Address Space Mapping in R

Awesome Lists containing this project

README

        

---
output: downlit::readme_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
pkgload::load_all()
```

# procmaps

[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html)
[![R build status](https://github.com/r-prof/procmaps/workflows/rcc/badge.svg)](https://github.com/r-prof/procmaps/actions)
[![Codecov test coverage](https://codecov.io/gh/r-prof/procmaps/branch/main/graph/badge.svg)](https://app.codecov.io/gh/r-prof/procmaps?branch=main)
[![CRAN status](https://www.r-pkg.org/badges/version/procmaps)](https://CRAN.R-project.org/package=procmaps)

The goal of procmaps is to help determine which library or other region is mapped to a specific address of a process.
It is the equivalent of `/proc/self/maps` as a data frame, and is designed to work on all major platforms.

## Installation

You can install the released version of procmaps from [CRAN](https://CRAN.R-project.org) with:

``` r
install.packages("procmaps")
```

## Example

This is what `/proc/self/maps` looks like (on Linux) when this document is rendered:

```{bash}
cat /proc/self/maps
```

Other operating systems make this information available in other form.
This package provides the equivalent as a data frame, regardless of operating system:

```{r}
library(procmaps)
procmap_get()
```

---

## Code of Conduct

Please note that the procmaps project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.