Displaying 1 result from an estimated 1 matches for "__end___".
Did you mean:
__end__
2008 Aug 01
2
Extract Element of String with R's Regex
..."211952_at" "RANBP5" "2"
In Perl we would do it this way:
__BEGIN__
my @needed =();
my $str = "Best-K Gene 11340 211952_at RANBP5 Noc= 3 - 2 LL=
-963.669 -965.35";
$str =~ /Best-K Gene \d+ (\w+) (\w+) Noc= \d - (\d) LL= (.*)/;
push @needed, ($1,$2,$3);
__END___
How can we achieve this with R?
- E.W.