Can you perhaps provide us a minimal working script in which this assignment doesn't happen? If it really is just the line
pattern <- "[Aa]ccountability" in the main body of the script, I can't for the life of me guess why it wouldn't work. General keywords that come to mind are things like "environment" and "scoping" though.... Michael Weylandt On Tue, Sep 20, 2011 at 6:49 PM, Henri-Paul Indiogine <hindiog...@gmail.com>wrote: > My objective is to define a pattern for a grep() statement. > > Thanks, > Henri-Paul > > > > -- > Henri-Paul Indiogine > > Curriculum & Instruction > Texas A&M University > TutorFind Learning Centre > > Email: hindiog...@gmail.com > Skype: hindiogine > Website: http://people.cehd.tamu.edu/~sindiogine > > ______________________________________________ > 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. > [[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.