Displaying 2 results from an estimated 2 matches for "digmap".
2009 Jan 09
3
Pack and Unpack Strings in R
...t; finally
recover them back again into string with new information.
In Perl the implementation will look like this:
I wonder how can this be implemented in R.
__BEGIN__
my %charmap = (
A => '00',
C => '01',
G => '10',
T => '11',
);
my %digmap = (
'00' => "A",
'01' => "C",
'10' => "G",
'11' => "T",
);
my $string = 'GATTA';
$string =~ s/(.)/$charmap{$1}/ge;
my $compressed = pack 'b*', $string;
print "COMP...
2008 Oct 10
4
Polycom 330 not dialing 4 digit extensions beginning with 11xx
I have four Polycom 330 phones connected to an asterisk system. There
are other VoIP phones connected too. All of the extensions are four
digits beginning with 11. From any of the phones, except the Polycom,
picking up the handset to call extension 1103 for example works fine.
With the Polycom 330, as I press the second 1 of 1103 it stops taking
input and gives me an error.
I tried