Displaying 1 result from an estimated 1 matches for "rbbb".
Did you mean:
bbb
2013 Jul 29
1
duplicated.data.frame() is broken on data frames containing \r
...;\r" as separator. But no precautions are taken to deal with "\r" in
the supplied data.frame. As a consequence it's easy to imagine
situations where duplicated.data.frame() returns an incorrect answer:
> df <- data.frame(a=c("AA", "AA\r"), b=c("\rBBB", "BBB"))
> df
a b
1 AA \rBBB
2 AA\r BBB
> duplicated(df)
[1] FALSE TRUE
Cheers,
H.
> sessionInfo()
R version 3.0.1 (2013-05-16)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIM...