[R] Works from CLI but not from prompt
dwinsemius at comcast.net
Wed Sep 21 01:13:57 CEST 2011
On Sep 20, 2011, at 6:49 PM, Henri-Paul Indiogine wrote:
> My objective is to define a pattern for a grep() statement.
You are not illustrating the problem with enough detail to determine
the source of your errors. The errors do not appear when tested in
what appears to be the obvious manner:
> pt1 <- "[Aa]ccountability"
> grep(pt1, "accountability")
> grep(pt1, "Accountability")
> grep(pt1, "countability")
An old advertisement in TV in the US used to ask: "Where's the Beef?"
David Winsemius, MD
West Hartford, CT
More information about the R-help