location: Print the location in memory of a data frame

Description Usage Arguments Examples

Description

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
location(mtcars)

mtcars2 <- mutate(mtcars, cyl2 = cyl * 2)
location(mtcars2)

changes(mtcars, mtcars)
changes(mtcars, mtcars2)

YTLogos/dplyr documentation built on May 20, 2019, 1:44 p.m.