Skip to content
Prev 303216 / 398503 Next

named character question

Hi Erin,

The first element of the character vector is a string.  You cannot
extract specifically characters from a string; try something like
?nchar

or perhaps better use regular expressions to extract things between
commas after two characters (or whatever logical rule accurately gets
the zip code).

Cheers,

Josh
On Sun, Aug 12, 2012 at 8:33 PM, Erin Hodgess <erinm.hodgess at gmail.com> wrote: