<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Farrel,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">It could be useful. Please file an issue on the github project page. Thanks.</div> <br> <div id="bloop_sign_1423592855110418944" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>Arun</div></div> <br><p style="color:#000;">On 10 Feb 2015 at 01:08:46, Farrel Buchinsky (<a href="mailto:fjbuch@gmail.com">fjbuch@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>
<title></title>
<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>
_______________________________________________
<br>datatable-help mailing list
<br>datatable-help@lists.r-forge.r-project.org
<br>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help</div></div></span></blockquote></body></html>