Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

location(mtcars)
# ->
lobstr::ref(mtcars)

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

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

dplyr

A Grammar of Data Manipulation

v1.0.6
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre] (<https://orcid.org/0000-0003-4757-117X>), Romain François [aut] (<https://orcid.org/0000-0002-2444-4226>), Lionel Henry [aut], Kirill Müller [aut] (<https://orcid.org/0000-0002-1416-3412>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.