Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rleid on vector drop names by reference on it's input #1419

Closed
jangorecki opened this issue Oct 30, 2015 · 0 comments
Closed

rleid on vector drop names by reference on it's input #1419

jangorecki opened this issue Oct 30, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@jangorecki
Copy link
Member

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
@arunsrinivasan arunsrinivasan added this to the v1.9.8 milestone Oct 31, 2015
@arunsrinivasan arunsrinivasan self-assigned this Oct 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants