Hello,

How do I change this:
> cnt_str
[1] "\002" "\001" "\102"

...to this:
> cnt_str
[1] "2" "1" "102"

Having trouble because of this:
> nchar(cnt_str[1])
[1] 1

Thanks!

Ben

        [[alternative HTML version deleted]]

______________________________________________
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