On Mon, Apr 15, 2013 at 2:22 PM, Gergely Daróczi <gerg...@snowl.net> wrote:
> I have added an extra check in the function for NA values before applying
> `paste` at
> https://github.com/Rapporter/rapport/compare/34ca6a35fb...a04abc8b21
> Alex might not like it :)
>
> Example:
>
>>  tocamel(z, upper = TRUE, sep = ' ')
> [1] "R Project"      "Hello World"    "Something Else" NA
>
Thanks! Now I'm getting somewhere:
z <- c("R project", "hello world", "something Else", "something-else",
NA)
> tocamel(z, sep=' ', upper=T, delim=" ")
[1] "R Project"      "Hello World"    "Something Else" "Something-else"
[5] NA


I hope Alex likes your fixes. Thanks,
Liviu

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to