The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Title: Portable Address Space Mapping
Version: 0.0.5
Date: 2023-01-19
Description: Portable '/proc/self/maps' as a data frame. Determine which library or other region is mapped to a specific address of a process. – R packages can contain native code, compiled to shared libraries at build or installation time. When loaded, each shared library occupies a portion of the address space of the main process. When only a machine instruction pointer is available (e.g. from a backtrace during error inspection or profiling), the address space map determines which library this instruction pointer corresponds to.
License: GPL-3
URL: https://r-prof.github.io/procmaps/, https://github.com/r-prof/procmaps
BugReports: https://github.com/r-prof/procmaps/issues
Suggests: covr, testthat, tibble
Encoding: UTF-8
RoxygenNote: 7.2.3
NeedsCompilation: yes
Packaged: 2023-01-19 20:11:56 UTC; kirill
Author: Kirill Müller ORCID iD [aut, cre], R Consortium [fnd], Kostya Serebryany [ctb] (Bundled gperftools library), Sanjay Ghemawat [ctb] (Bundled gperftools library), Craig Silverstein [ctb] (Bundled gperftools library), Google Inc. [cph] (Bundled gperftools library)
Maintainer: Kirill Müller <kirill@cynkra.com>
Repository: CRAN
Date/Publication: 2023-01-20 17:10:02 UTC

Does a path represent R's main library?

Description

For a vector of paths, checks if the basename matches libR or R. This is useful to detect the addresses occupied by R itself.

Usage

path_is_libr(path)

Arguments

path

A character vector of paths

Value

A logical vector of the same length as path.

Examples

map <- procmap_get()
path_is_libr(map$pathname)

Get the address space map of a process

Description

Returns the address space map of a process as a data frame.

Usage

procmap_get(..., as_tibble = NULL)

Arguments

...

Reserved for future extensions, must be empty.

as_tibble

When using in a package, set to TRUE to return a tibble::tibble. This requires the tibble package to be installed. The default returns a tibble if the package is installed, otherwise a data frame.

Value

A data frame or tibble, depending on the as_tibble argument.

Examples

procmap_get()

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.