search for: cachekey

Displaying 2 results from an estimated 2 matches for "cachekey".

Did you mean: cache_key
2023 Oct 17
1
transform a list of arrays to tibble
...'return') rownames(result.tib) <- save.names Unfortunately, I got an error message: > save.names [1] "BTCUSDT" "ETHUSDT" "TRXUSDT" > rownames(result.tib) <- save.names Warning message: Setting row names on a tibble is deprecated. Error in exists(cacheKey, where = .rs.WorkingDataEnv, inherits = FALSE) : invalid first argument Error in assign(cacheKey, frame, .rs.CachedDataEnv) : attempt to use zero-length variable name If a tibble deprecates row names, it may not be the ideal storage for you. A plain data.frame works: > result.df <- as...
2023 Oct 17
1
transform a list of arrays to tibble
I work with a list of crypto assets daily closing prices in a xts class. Here is a limited example: asset.xts.lst <- list(BTCUSDT = structure(c(26759.63, 26862, 26852.48, 27154.15, 27973.45), dim = c(5L, 1L), index = structure(c(1697068800, 1697155200, 1697241600, 1697328000, 1697414400), tzone = "UTC", tclass = "Date"), class = c("xts", "zoo")), ETHUSDT