79073651

Date: 2024-10-10 09:26:44
Score: 0.5
Natty:
Report link

Another solution inspired by https://github.com/Rdatatable/data.table/issues/5020#issuecomment-917486693

DT[, c(sing, reg), env = list(sing = as.list(setNames(nm = names(DT[,.(a)]))), 
                              reg = as.list(setNames(nm = names(DT[, x:y]))))]
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: iago