| 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 | 
| 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  | 
Value
A data frame or tibble, depending on the as_tibble argument.
Examples
procmap_get()