Learn R Programming

envnames (version 0.4.1)

parse_memory_address: Parse a string that represents a memory address

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

parse_memory_address(x)

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>"