Displaying 7 results from an estimated 7 matches for "fillmore".
Did you mean:
willmore
2011 Feb 25
0
Named capture in regexp
Dear R core developers,
One feature from Python that I have been wanting in R is the ability
to capture groups in regular expressions using names. Consider the
following example in R.
> notables <- c(" Ben Franklin and Jefferson Davis","\tMillard Fillmore")
> name.rex <- "(?<first>[A-Z][a-z]+) (?<last>[A-Z][a-z]+)"
> (parsed <- regexpr(name.rex,notables,perl=TRUE))
[1] 3 2
attr(,"match.length")
[1] 12 16
attr(,"capture.start")
[,1] [,2]
[1,] 3 7
[2,] 2 10
attr(,"capture....
2024 Jan 29
1
strcapture performance when perl = TRUE
...utils:::conformToProto(out,proto)
} else {
strcapture(pattern,x,proto,perl,useBytes)
}
}
Now comparing with strcapture we can expand the named capture example
from the grep documentation:
notables <- c(
" Ben Franklin and Jefferson Davis",
"\tMillard Fillmore",
"Bob",
NA_character_
)
regex <- "(?<first>[[:upper:]][[:lower:]]+) (?<last>[[:upper:]][[:lower:]]+)"
proto = data.frame("", "")
(strcapture(regex, notables, proto, perl = TRUE))
X.. X...1
1 Ben Franklin
2 Millard F...
2005 Feb 10
4
[ANNOUNCE] New stable release of Samba Console (1.1.23)
Hi,
I'm officialy announcing the new 1.1.23 stable release of Samba Console,
along with a stable IMC release too (1.2.24). This code is just going in
production at a new customer site this week.
From the project web site :
Samba Console <http://imc.sourceforge.net/samba/index.html> is the first
console developped for IMC. It offers a simple and ergonomic interface
for managing a
2013 Apr 17
1
POSIXt oddness at end of 1969
A user here noticed the following difference between Linux and Windows versions
of R-2.15.3 (and R-3.0.0, I think) when using times within a second of the end of 1969:
f <- function (sec = -1)
{
x1 <- as.POSIXct(c(2 * sec, sec, 0), origin = "1970-01-01", tz = "UTC")
x2 <- as.POSIXlt(x1)
x3 <- as.POSIXct(x2, origin = "1970-01-01", tz =
2008 Feb 22
3
projection.matrix() {popbio} for more than one matrix
Hello,
I am trying to use the projection.matrix( ) function and am following the
example given. I have my data formatted very similar to the test.census
example.
> str(AsMi05mat)
`data.frame': 1854 obs. of 6 variables:
$ Tag : num 501 502 503 504 505 506 507 508 509 510 ...
$ Year : int 1995 1995 1995 1995 1995 1995 1995 1995 1995 1995 ...
$ Length : num 34
2004 Jun 13
0
FYI: new port security/portaudit-db
Dear porters and port users,
I've added a new port security/portaudit-db that complements
security/portaudit for users
that have a current ports tree and want to generate the portaudit
database themselves,
possibly distributing it over their local network. This will save you
the traffic downloading
information that is already on your local machine and avoid the lag that
is currently
2004 Mar 29
1
cvs commit: ports/multimedia/xine Makefile
Jacques A. Vidrine wrote:
> On Mon, Mar 29, 2004 at 08:14:29PM +0200, Oliver Eikemeier wrote:
>
>>Jacques A. Vidrine wrote:
>>
>>>On Sun, Mar 28, 2004 at 03:44:06PM -0800, Oliver Eikemeier wrote:
>>>
>>>>eik 2004/03/28 15:44:06 PST
>>>>
>>>>FreeBSD ports repository
>>>>
>>>>Modified files: