Rの備忘録
尋ねられたので.つまりC風の以下の操作をRで行う
unsigned char c = 0XA; c = c << 1; // c = 0x14 ( c = 20) c = c << 2; // c = 0x28 ( c = 40) c = c << 3; // c = 0x50 ( c = 80)
> 0xAp1 [1] 20 > 0xAp2 [1] 40 > 0xAp3 [1] 80