dplyr (version 1.0.10)

location: Print the location in memory of a data frame

Description

[Deprecated]

This is useful for understand how and when dplyr makes copies of data frames

Usage

location(df)

changes(x, y)

Arguments

df

a data frame

x, y

two data frames to compare

Examples

Run this code
location(mtcars)
# ->
lobstr::ref(mtcars)

mtcars2 <- mutate(mtcars, cyl2 = cyl * 2)
# ->
lobstr::ref(mtcars2)

changes(mtcars, mtcars2)
# ->
lobstr::ref(mtcars, mtcars2)

Run the code above in your browser using DataLab