-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
latest 1.9.7
library(data.table)
x = c("a"=TRUE, "b"=FALSE)
print(x)
# a b
# TRUE FALSE
r = rleid(x)
print(x)
# [1] TRUE FALSE
R version 3.2.2 (2015-08-14)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.3 LTS
locale:
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
[7] LC_PAPER=en_GB.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] R6_2.1.1 data.table_1.9.7
loaded via a namespace (and not attached):
[1] tools_3.2.2 Rserve_1.7-3 rolap_0.1 chron_2.3-47