79703627

Date: 2025-07-16 15:07:31
Score: 2.5
Natty:
Report link

I know this is a very old post now, but if range is a vector of column names you'd like to remove, you can do this:

DT<-DT[,.SD,.SDcols=-range]

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user13678913