Revision a7001ff1805634d18a10fa371b38dbe3e48f8c9e authored by HwB on 30 October 2011, 00:00:00 UTC, committed by Gabor Csardi on 30 October 2011, 00:00:00 UTC
1 parent 6b51622
andor.R
##
## a n d o r . R Logical AND, OR
##
and <- function(l, k) {
return((l & k) + 0)
}
or <- function(l, k) {
return((l | k) + 0)
}
# and <- function(...) {
# all(sapply(as.list(...), as.logical))
# }
#
# or <- function(...) {
# any(sapply(as.list(...), as.logical))
# }
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...