Description Usage Arguments Details Value See Also Examples
A helper function to convert a data.table to data.frame by reference. It does not handle lists or lists of data.tables.  
1  | setDF(x)
 | 
x | 
  A   | 
This feature request came up on the data.table mailing list: http://bit.ly/1xkokNQ. All data.table attributes including any keys of the input data.table are stripped off.
The input data.table is modified by reference to a data.frame.
setkey, setattr, setnames, set, :=, setorder, copy
1 2 3 4  | set.seed(45L)
X = data.table(x = 1:5, y=6:10)
## convert 'X' to data.frame, without any copy.
setDF(X)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.