10.25 Locating Datasets in Memory

20200603 We can see that ds and weather reference the same dataset in memory using lobstr::ref() which shows actual memory addresses of the data.


This gets rather technical, but the strings of digits beginning with 0x are the actual memory addresses—that is, they are pointers to a direct location in our computer’s memory. The 0x at the beginning of each identifies that a hexadecimal scheme is used, thus we see digits 0 to 9 and then the letters a, b, c, d, e, and f being used (16 digits).

The addresses recorded for weather and ds, including the addresses where we find the actual variables (columns) within each dataset, are identical.

Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0