Tuesday, April 16, 2013

RStudio character limit

I have been using my makebinary function without any issues, but now that I am working with a much larger tree, I am running into a problem with the number of characters in my newick tree.

My newick tree is 4434 characters long. Add to that the makebinary function call, and the whole command ends up being 4448 characters long. I found out that RStudio truncates commands to be 4096 characters. Fortunately, running it in the normal R console works without issues, but even that seems to have a 4096 character limit:


Note how there is now a new line (headed by the +) at the beginning of the second to last line.

No comments:

Post a Comment