![]() |
Data Science Desktop Survival Guide
by Graham Williams |
![]() |
|||
Effect on Data Storage |
20180721 When the names of the variables within a dataset are changed R does not make a complete new copy of the dataset. Instead, the actual data in the column remains in tack whilst the variable itself (ds) references a new memory location where the new variable names get noted. The underlying data within the table is unaffected.
location(weather)
## Warning: `location()` is deprecated as of dplyr 1.0.0.
## <0x55ac47f65ac0> ## Variables: ## * Date: <0x55ac3ba4b7a0> ## * Location: <0x55ac4759f2f0> ## * MinTemp: <0x55ac47f64d10> ## * MaxTemp: <0x55ac441c5d30> .... |
## <0x55ac4388ef80> ## Variables: ## * date: <0x55ac3f9464e0> ## * location: <0x55ac405b6050> ## * min_temp: <0x55ac40bdc900> ## * max_temp: <0x55ac407d2a40> .... |