-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creation of data.table using a list #968
Comments
Thanks. Could you please read completely and follow the instructions here? Add the output you get wherever possible, comment the output, tell us which version you're using etc.. |
It's worth noting that
Tested with today's devel version of data.table. |
structure(list(l = list(1:5, c(0.182844649428989, 0.858360447353789,
-0.0532774982161298, 0.459157422043729, 0.822852400527859), c("a",
"b", "c", "d", "e"))), .Names = "l", row.names = c(NA, -3L), class = c("data.table",
"data.frame")) |
as.data.table is what I was looking for. Thank you so much for all the follow up. I agree that the behavior is as Thank you for maintaining such an excellent package! It's really my On Wed, Dec 10, 2014 at 1:46 PM, Jan Gorecki [email protected]
|
@asantucci just don't forget to close this issue (assuming it is resolved) when you will have access to github (I see you did reply via email). |
This is a very similar issue as what is mentioned here: http://stackoverflow.com/questions/18390947/data-table-of-table-is-very-different-from-data-frame-of-table
yet this pertains to creating data.tables using a list input. For example:
I discovered this behavior at least a year ago when I was trying to create a data.table object using mget
There are probably really good reasons for having this behavior that I am not aware of as a user, but at the same time it would be great to have data.table behaving as similarly as possible to data.frame!
Thanks for such a great package! I haven't used data.frame in years, and couldn't be happier.
The text was updated successfully, but these errors were encountered: