parse_memory_address: Parse a string that represents a memory address

Description Usage Arguments Value

View source: R/functions.r

Description

Parse a string representing a memory address so that the address is returned in the way it is stored in the 'address' column of the data frame returned by get_env_names().

Usage

1

Arguments

x

string to parse.

Value

string containing the memory address represented by the input string after stripping any extraneous pieces of string, namely : "0x" and "environment: " and after enclosing it in '<>'. For 32-bit architecture the string would be of the form "<xxxxxxxx>" where x represents digits between 0 and 9 and letters between "a" and "f". Ex: "<07830f40>" For 64-bit architecture the string would be of the form "<xxxxxxxxxxxxxxxx>" where x represents digits between 0 and 9 and letters between "a" and "f". Ex: "<07830f40>"


envnames documentation built on Dec. 8, 2020, 9:07 a.m.