<div dir="ltr">So lets say one has a data.table with the following columns<div><br></div><div><a href="http://first.name">first.name</a>, <a href="http://last.name">last.name</a>, height, weight, shoe.size, eye.color, hair.length, appendage.size, ear.length</div><div><br></div><div>If one wanted to just include weight through hair.length one would have to go something such as this</div><div><br></div><div>dt[,list(<span style="font-size:13.1999998092651px">weight, shoe.size, eye.color, hair.length)]</span></div><div><span style="font-size:13.1999998092651px"><br></span></div><div><span style="font-size:13.1999998092651px">Is there a way to do something along the lines of</span></div><div><span style="font-size:13.1999998092651px"><br></span></div><div><span style="font-size:13.1999998092651px">dt[,list(</span><span style="font-size:13.1999998092651px">weight...hair.length)]</span><span style="font-size:13.1999998092651px"><br></span></div><div><span style="font-size:13.1999998092651px"><br></span></div><div><span style="font-size:13.1999998092651px">If so, can you direct me to the documentation? If not can you build it? Is it difficult? Some data.tables have many columns.</span></div><div><span style="font-size:13.1999998092651px"><br></span></div><div><span style="font-size:13.1999998092651px">Thanking you in anticipation.</span></div><div><span style="font-size:13.1999998092651px"><br></span></div><div><span style="font-size:13.1999998092651px">Farrel</span></div></div>