Displaying 5 results from an estimated 5 matches for "partialmatch".
2009 Dec 09
1
partial match for two datasets
..."JULIAN BAJKOWSKI with ","Cand BAKER","smith green")
I want to get the following result from "import" after comparing the two sets
result<-c("by DAVID ADAMS","piersAKERMAN","JULIAN BAJKOWSKI with ")
I created a "partialmatch" function as follow, but can not get right result.
partialmatch<- function(x, y) as.vector(y[regexpr(as.character(x), as.character(y), ignore.case = TRUE)>0])
result<-partialmatch(dig,import)
[1] "by DAVID ADAMS"
Thanks,
lynn
_________________________________...
2014 Apr 30
2
"Name partially matched in data frame"
...ns, then abbreviate the names as I call them. This behavior has been termed ?lazy? in various correspondence on this mailing list but it works for me and probably works for others.
I realize that the new message is only a warning but it is a minor nuisance. Would it be possible to add an
option(partialMatch=TRUE) ## default is FALSE
or something similar to suppress that behavior? That should keep both camps happy.
Dennis
Dennis Fisher MD
P < (The "P Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-866-PLessThan (1-866-753-7784)
www.PLessThan.com
2017 Jul 15
2
PartialAlias: different start addresses
...(!Inst)
return true;
(...)
}
So if V1==V2, BasicAA will yield MustAlias.
I couldn't find any evidence that access sizes must be equal for 2 pointers
to be MustAlias. Unless someone can prove that statement wrong, we have to
conclude that CFL* AAs are being too conservative by yielding PartialMatch
when sizes don't match.
Nuno
P.S.: This is not to say that SCEV AA hasn't bugs: I think I found one by
inspection; I've asked a colleague to review and will report it soon. Not
sure there's an easy fix for it, though.
2024 Apr 22
1
Petition to set warnPartialMatch* options to TRUE during R CMD check by default
...um set of partially-matched calls while leaving
potentially many other similar at-risk call sites unchanged.
Better to enforce exact matching in package code globally, I think.
It seems likely (given how options work in R) that committed authors will
be able to sidestep the issue by disabling the PartialMatch warnings, but
better to make this inconvenient with a stricter default.
Mike C
[[alternative HTML version deleted]]
2017 Jul 14
2
PartialAlias: different start addresses
Thank you all for your replies.
So here seems to be an agreement that the documentation for PartialAlias is
incorrect.
Daniel: now you got me wondering about MustAlias. This is what the docs say:
"The MustAlias response may only be returned if the two memory objects are
*guaranteed to always start at exactly the same location*"
This statement is regardless of the access sizes. For