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

Error with ibutton.dataframe function #1

Open
TeresaSilverthorn opened this issue Jan 25, 2020 · 1 comment
Open

Error with ibutton.dataframe function #1

TeresaSilverthorn opened this issue Jan 25, 2020 · 1 comment

Comments

@TeresaSilverthorn
Copy link

Hi! Thanks for sharing your code.

The code works great with your data. However when I try it with my data, it works fine until I get to the ibutton.dataframe function. I get the following error message: "Error in [[<-.data.frame(*tmp*, "Date.Time", value = list(sec = numeric(0), : replacement has 0 rows, data has 212548"
Any ideas of what could be happening? I made a few adjustments to your code, name that in my ibutton output it's 18 lines instead of 13 of the preamble. But I don't see how changing that would cause such an error...

Thanks for any assistance!

@jenna-tb-ekwealor
Copy link

jenna-tb-ekwealor commented Mar 23, 2020

I had the same problem as above, and I did not make any adjustments to the code. Any guidance?

Edit: actually, I think I just resolved it. I changed the preamble skip (Thanks for the heads up, Teresa!) and it is now working for me. I noticed there are 2 lines in 'ibuttons.function.R' that have the preamble: line 13 and line 41. Maybe making sure both of those are changed to 18 will help?

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