Do You Have to get() Objects?
Original link: https://yihui.org/en/2023/04/get-objects/ Last month I saw an interesting question on Stack Overflow, in which the OP wanted to print a series of data frames as tables, and tried double loops, which did not work: for (i in c(“CP”, “BK”, “IT”, “WP”)) { for (j in c(“DD”, “SI”)) { data <- get(paste0(i, “_”, j, “_comb1”)) […]
Do You Have to get() Objects? Read More »