This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # For inconsistent environrement | |
| # see - https://github.com/conda/conda/issues/8490#issuecomment-622139343 | |
| conda update -n YOUR_ENV_NAME -c defaults conda --force | |
| # e.g. for base | |
| conda update -n base -c defaults conda --force |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # usage: | |
| # load('/proj/analytics/common/Common Data/catalogueOptimisation/prodDatasets/live/dt_summary_dataset_BETA33.Rdata') | |
| # global_data[['/proj/analytics/common/Common Data/catalogueOptimisation/prodDatasets/live/dt_summary_dataset_BETA33.Rdata']] %>% assign("summary_agg", ., envir = .GlobalEnv) | |
| # for multiple objects in .Rdata, we can use list2env() | |
| # RDS and fst can assign without using assign() or list2env() | |
| library(fst) | |
| library(data.table) | |
| library(tools) | |
| library( | |
| # load Rdata object(s) in the function environment |