location: Print the location in memory of a data frame

Description Usage Arguments Examples

View source: R/location.R

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)

sctyner/dplyr050 documentation built on May 17, 2019, 2:22 p.m.