location: Print the location in memory of a data frame

Description Usage Arguments Examples

View source: R/deprec-location.R

Description

\Sexpr[results=rd, stage=render]{lifecycle::badge("deprecated")}

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

Usage

1
2
3

Arguments

df

a data frame

x, y

two data frames to compare

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
location(mtcars)
# ->
lobstr::ref(mtcars)

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

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

javifar/TIDYVERSE-DPLYR documentation built on Dec. 20, 2021, 9:08 p.m.