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

allow.duplicates not working? #69

Open
kaneplusplus opened this issue May 8, 2017 · 0 comments
Open

allow.duplicates not working? #69

kaneplusplus opened this issue May 8, 2017 · 0 comments

Comments

@kaneplusplus
Copy link
Owner

From an email to bigmemoryauthors:

I've been trying to use the "bigmemory" R package but I'm having some issues when trying to remove all duplicated rows (across all columns) from a big.matrix. According to the manual I should be able to use mpermute with "allow.duplicates = FALSE", but don't think it is working. For example:

m = matrix(as.double(as.matrix(iris)), nrow=nrow(iris))
x=m[,c(1,2)]
mpermute(x, cols=c(1:ncol(x)), allow.duplicates=FALSE)

I still get duplicated lines (e.g. 134, 135 and 136).
Is it a bug? Or am I doing something wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant