Print the location in memory of a data frame
This is useful for understand how and when dplyr makes copies of data frames
location(df) changes(x, y)
df |
a data frame |
x, y |
two data frames to compare |
location(mtcars) # -> lobstr::ref(mtcars) mtcars2 <- mutate(mtcars, cyl2 = cyl * 2) # -> lobstr::ref(mtcars2) changes(mtcars, mtcars2) # -> lobstr::ref(mtcars, mtcars2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.