powered by
This is useful for understand how and when dplyr makes copies of data frames
location(df)changes(x, y)
changes(x, y)
a data frame
two data frames to compare
# NOT RUN { location(mtcars) mtcars2 <- mutate(mtcars, cyl2 = cyl * 2) location(mtcars2) changes(mtcars, mtcars) changes(mtcars, mtcars2) # }
Run the code above in your browser using DataLab