[datatable-help] setnames on a non-data.table object

Ricardo Saporta saporta at scarletmail.rutgers.edu
Tue Oct 1 21:51:05 CEST 2013


Hi All,

I'm wondering if there are any potential problems or unforseen pitfalls
with having

  setnames(x, nms)

call
   setattr(x, "names", nms)

when x is not a data.table.

Thoughts?

Rick

Ricardo Saporta
Graduate Student, Data Analytics
Rutgers University, New Jersey
e: saporta at rutgers.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20131001/63065b1e/attachment.html>


More information about the datatable-help mailing list