Skip to content
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

melt.data.frame OBJECT bit not set when value is POSIXct #50

Open
simonohanlon101 opened this issue Jun 5, 2014 · 3 comments
Open

melt.data.frame OBJECT bit not set when value is POSIXct #50

simonohanlon101 opened this issue Jun 5, 2014 · 3 comments

Comments

@simonohanlon101
Copy link

Simillar to issue #43. The OBJECT bit in the SEXP sxpinfo header is not being set when the value field is a vector with attributes, in this case, POSIXct. The effect is that print.default get dispatched on the vector rather than the appropriate S3 method.

Associated StackOverflow Q&A is here.

@kevinushey
Copy link
Contributor

Thanks for the report and the associated StackOverflow investigation. I'll take a look!

kevinushey added a commit to kevinushey/reshape that referenced this issue Jun 30, 2014
hadley added a commit that referenced this issue Jun 30, 2014
Make sure OBJECT bit appropriately set when melting (#50)
@kevinushey
Copy link
Contributor

This should be fixed with 0658e7c. Please try the latest development version of reshape2 and confirm the fix works for you as well.

Thanks!

@kevinushey
Copy link
Contributor

Note that we only use SET_OBJECT as S4 vectors within data.frames is something that we (nor R, AFAIK) don't really support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants