Re: [R] Invalid Regular Expression
You didn't follow the posting guidelines and provide reproducible code, limiting both response accuracy and desire to help. However, your zip code regular expression string ends with a | symbol, suggesting that your vector of zip codes has an empty string at the end. (I can't resist asking whet
[R] Invalid Regular Expression
I'm working with some data, and am trying to generate it in the following format. statecity zipcode I like pizza0 0 0 I live in Denver 0 1 0