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 in double(nm * nm) : vector size cannot be NA #18

Open
brmagalis opened this issue Apr 27, 2021 · 2 comments
Open

Error in double(nm * nm) : vector size cannot be NA #18

brmagalis opened this issue Apr 27, 2021 · 2 comments

Comments

@brmagalis
Copy link

I am not sure as to what "nm" (or the referenced vector) is referring to here. I read in the bootstrap-labeled tree using read.tree() and the dates file as a named vector (converting dates to decimals using lubridate::decimal_date()), as usual, but I have never received this error before. Any help would be appreciated.
issue.zip

@emvolz
Copy link
Owner

emvolz commented Apr 27, 2021

The tree might be a bit too much for treedater. I see more than 30k tips. I haven't been able to reproduce the error since it can't allocate the memory on my laptop. There are more scalable methods like least-squares-dating, or if there is a logical way to partition the data you can try that.

@brmagalis
Copy link
Author

brmagalis commented Apr 28, 2021 via email

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