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
- Host: GitHub
- URL: https://github.com/r-prof/procmaps
- Owner: r-prof
- Created: 2020-08-24T07:25:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-24T07:45:52.000Z (3 months ago)
- Last Synced: 2024-11-24T08:26:10.604Z (3 months ago)
- Topics: r, system-utility
- Language: R
- Homepage: https://r-prof.github.io/procmaps/
- Size: 1.47 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - r-prof/procmaps - Portable Address Space Mapping in R (R)
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
[](https://lifecycle.r-lib.org/articles/stages.html)
[](https://github.com/r-prof/procmaps/actions)
[](https://app.codecov.io/gh/r-prof/procmaps?branch=main)
[](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.