On Jan 30, 2011, at 2:51 PM, Fahim M wrote:

Hi
Is there any function to do bitwise or/and/xor on long bit vectors?

"aaaaa"
"0000000000000000000000000000000000000000000000000000000000000000
......................"
"bbbbb"
"0000000000000000000000000000001000000000000100000000100000001100
......................"
"ccccc"
"000000000000000000000000000000000000000000000000000000000000000000000000000
..."
"dddddd"
"0000000000000000000000000000000000000000000000000000000000000000000000000000
.."


The Logical functions have a bitwise interpretation for objects of type "raw".

?as.raw
??base::Logic



--

David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to