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

problem with dataframe containing POSIXlt class field #276

Open
slpmee opened this issue Apr 20, 2016 · 0 comments
Open

problem with dataframe containing POSIXlt class field #276

slpmee opened this issue Apr 20, 2016 · 0 comments

Comments

@slpmee
Copy link

slpmee commented Apr 20, 2016

Hi.
I was trying to use "ddply" function for applying my function to dataframe.
When I implemented my code, ddply function didn't working and R session was terminated.
I checked ddply function and I found out "splitter_d" function from plyr caused the problem.

There was a POSIXlt date class field in the dataframe. But the variable was not used in calculation.
I think "Splitter_d" function doesn't working well and can't split data into sub pieces if POSIXlt class field is in dataframe.
My function worked for first splitted data but didn't work for 2nd sub data.
But after changing date class to POSIXct, the code worked well.

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

1 participant