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
Add function to word wrap long character vectors #37
Conversation
What does this do that using |
It does not do anything that base::strwrap does not, I just had no Thanks again On Wed, Nov 6, 2013 at 2:51 PM, Brian Diggs notifications@github.comwrote:
|
Not knowing every function in R is quite forgivable :) Inconsistency in naming of base functions and their arguments is past fixing (as you noted), but there are packages which give more consistent interfaces. In this case, the In fact, you could write your
which passes all the test cases you gave. I'm not recommending that as code to use in the package, though, because it introduces a dependency on the |
This seems like a reasonable addition. Can you please:
|
This functionality is very useful in plot legends for instance.
Wish I would have known about that function this morning!
Ok 1c0ea8f should be good to go once the build finishes. |
Add function to word wrap long character vectors
This functionality is very useful in plot legends for instance.
Not sure if there is any active development on this package, but I thought I would send the pull request anyway...