Displaying 4 results from an estimated 4 matches for "abcxyz".
2008 Oct 17
2
A question about "union"
...ectors and I want to get
the union of all of them. So I wrote a loop:
all <-c();
for(var in ls(pattern="xyz"))
# all of the vectors with pattern of "xyz"
{
all <- union(all, var);
}
but the result is like this: ("xyzblabla1", "xyzblabla2", "abcxyz", ...
) -- just a collection of the variable names, not the union of their
elements.
How can I solve this problem?
thanks!
Leon
2010 Nov 16
1
Bug in agrep computing edit distance?
The documentation for agrep says it uses the Levenshtein edit distance,
but it seems to get this wrong in certain cases when there is a
combination of deletions and substitutions. For example:
> agrep("abcd", "abcxyz", max.distance=1)
[1] 1
That should've been a no-match. The edit distance between those strings
is 3 (1 substitution, 2 deletions), but agrep matches with max.distance >=
1.
I didn't find anything in the bug database, so I was wondering if somehow
I'm misinterpreting how agr...
2010 Nov 17
2
Bug in agrep computing edit distance?
...at> carnegielearning.com> writes:
>
> The documentation for agrep says it uses the Levenshtein edit distance,
> but it seems to get this wrong in certain cases when there is a
> combination of deletions and substitutions. For example:
>
> > agrep("abcd", "abcxyz", max.distance=1)
> [1] 1
>
> That should've been a no-match. The edit distance between those strings
> is 3 (1 substitution, 2 deletions), but agrep matches with max.distance
>>=
> 1.
>
> I didn't find anything in the bug database, so I was wondering if som...
2005 Feb 20
1
Conecting to asterisk server through NAT using IAX
...36
4569
It works ok with broadvoice, but clinets cannot connect to the server.
This is my iax.conf file
[general]
port=5036
tos=lowdelay
jitterbuffer=no
disallow=all
allow=ulaw
allow=ilbc
allow=gsm
allow=adpcm
allow=alaw
register => xxx:xxx@gwiax-in-01.voicepulse.com
[guest]
type=user
context=abcxyz
auth=none
[voicepulse-in-01] ; <-- Name must be [voicepulse-in-01]
type=user
context=voicepulse-incoming ; <-- Should match the context you
; are using in extensions.conf
auth=rsa
inkeys=voicepulse01
[tester]
type=friend
context=sip
auth=plaintext
secret=secrw...