[Vegan-commits] r2075 - pkg/permute/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Feb 9 13:46:12 CET 2012
Author: gsimpson
Date: 2012-02-09 13:46:11 +0100 (Thu, 09 Feb 2012)
New Revision: 2075
Modified:
pkg/permute/R/shuffle-utils.R
Log:
replace usage of .Internal()
Modified: pkg/permute/R/shuffle-utils.R
===================================================================
--- pkg/permute/R/shuffle-utils.R 2012-02-09 08:21:37 UTC (rev 2074)
+++ pkg/permute/R/shuffle-utils.R 2012-02-09 12:46:11 UTC (rev 2075)
@@ -68,5 +68,5 @@
}
`shuffleFree` <- function(x, size) {
- .Internal(sample(x, size, FALSE, NULL))
+ sample.int(x, size, replace = FALSE)
}
More information about the Vegan-commits
mailing list