Skip to content
Prev 292463 / 398498 Next

Selecting columns whose names contain "mutated" except when they also contain "non" or "un"

Here is a method that uses negative look behind:
[1] 1 4

it looks for muta that is not immediatly preceeded by un or non (but
it would match "unusually mutated" since the un is not immediatly
befor the muta).

Hope this helps,
On Mon, Apr 23, 2012 at 10:10 AM, Paul Miller <pjmiller_57 at yahoo.com> wrote:

  
    

Thread (16 messages)

Paul Miller Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 23 David Winsemius Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 23 Paul Miller Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 23 Bert Gunter Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 23 David Winsemius Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 23 Bert Gunter Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 23 Paul Miller Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 23 Greg Snow Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 23 Paul Miller Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 24 David Winsemius Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 24 Rui Barradas Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 24 Paul Miller Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 25 Peter Dalgaard Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 25 Greg Snow Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 26 Martin Maechler Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 27 Paul Miller Selecting columns whose names contain "mutated" except when they also contain "non" or "un" Apr 27