Go to TogaWare.com Home Page. Data Science Desktop Survival Guide
by Graham Williams
Duck Duck Go

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.

ref(weather)
ref(ds)

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.


Support further development by purchasing the PDF version of the book.
Other online resources include the GNU/Linux Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 2000-2020 Togaware Pty Ltd. . Creative Commons ShareAlike V4.