search for: rngversion

Displaying 16 results from an estimated 16 matches for "rngversion".

Did you mean: inversion
2019 Mar 05
3
Development version of R fails tests and is not installed
G'day all, I have daily scripts running to install the patched version of the current R version and the development version of R on my linux box (Ubuntu 18.04.2 LTS). The last development version that was successfully compiled and installed was "R Under development (unstable) (2019-02-25 r76159)" on 26 February. Since then the script always fails as a regression test seems to
2003 Mar 03
0
R-devel RNG change
I find the documention for RNGversion in R-devel is a bit misleading, and suggest adding a sentence to make it clear that the meaning of "default" is not set to its meaning in the earlier R version: `RNGversion' can be used to set the random generators as they were in an earlier R{} version (for reproducibi...
2012 Nov 04
1
what is the function naming convention?
...kage) I often guess wrong, and have to look the name up. In other words, I don't understand the logic in naming functions (if there is any): - most names are plain, lower case: cos, plot, sapply, t, toupper, unserialize, (etc) - some are capitalized: Filter, Machine, Map, NCOL, RNGversion, T (etc) - many are dotted: as.complex, as.data.frame.array, merge.data.frame, write.dcf (etc) The manual "Creating R Packages" states that it depends on the classes and instances. I couldn't find more hints. And there's more: - using underscore characters: check_t...
2019 Mar 05
0
Development version of R fails tests and is not installed
...te and -- lo and behold! -- the solution is probably the fact that the RNGkind(sample.kind = *) was introduced *and* the default was to differ from previous versions of R. > Happy to provide any more information/context that might be needed. Can you please try adding suppressWarnings(RNGversion("3.5.0")) e.g. at the very beginning of the tests/reg-tests-1d.R file or just a few lines above the code you show above, replace in line 1470 set.seed(42) by set.seed(42); suppressWarnings(RNGversion("3.5.0")) It will use a different missingness pattern for that multivari...
2003 Apr 25
4
Kinderman-Ramage (PR#2846)
Hi, Our department has detected a bug in the implementation of the Kinderman-Ramage generator for normal random variates in version 1.7.0, which can be seen from the below R session. (Consecutive calls for chisq.test(...) always gives p-values very close to 0.) We have already encountered this bug in version 1.6.2 The error is in file R-1.7.0/src/nmath/snorm.c Here is a patch for this file to
2019 Mar 28
2
issue with latest release of R-devel
I'm getting ready to submit an update of survival, and is my habit I run the checks on all packages that depend/import/suggest? survival.? I am getting some very odd behaviour wrt non-reproducability.? It came to a head when some things failed on one machine and worked on another.?? I found that the difference was that the failure was using the 3/27 release and the success was still on a
2019 Mar 28
0
issue with latest release of R-devel
...form distribution (used in sample(), for instance) has been changed. This addresses the fact, pointed out by Ottoboni and Stark, that the previous method made sample() noticeably non-uniform on large populations. See PR#17494 for a discussion. The previous method can be requested using RNGkind() or RNGversion() if necessary for reproduction of old results. Thanks to Duncan Murdoch for contributing the patch and Gabe Becker for further assistance." If so, testing with export _R_RNG_VERSION_=3.5.0 might remove/explain those errors. Just a thought Henrik On Wed, Mar 27, 2019 at 8:16 PM Therne...
2018 Sep 20
1
Bias in R's random integers?
On 09/19/2018 10:03 AM, Ben Bolker wrote: ... > Balancing backward compatibility and correctness is a tough problem > here. I think improvements in the RNG is a situation where backward compatibility is not really going to be lost, because people can specify the old generator, they just will not get it by default. My opinion is that the default needs to generally be the best option
2003 Jun 16
1
R 1.7.1 is released
...1976 JASA paper! Thanks to Josef Leydold and his team for investigating this. The old generator has been retained for reproducibility of older results, under the name "Buggy Kinderman-Ramage". A warning is issued if you select it (also indirectly via RNGversion()). o promptMethods() now puts the \alias lines for methods in the normal place, near the top of the file, and quotes class names in signatures. o getS3method() and methods() were not finding methods for coefficients() and fitted.values() (which dispatch on &q...
2003 Jun 16
1
R 1.7.1 is released
...1976 JASA paper! Thanks to Josef Leydold and his team for investigating this. The old generator has been retained for reproducibility of older results, under the name "Buggy Kinderman-Ramage". A warning is issued if you select it (also indirectly via RNGversion()). o promptMethods() now puts the \alias lines for methods in the normal place, near the top of the file, and quotes class names in signatures. o getS3method() and methods() were not finding methods for coefficients() and fitted.values() (which dispatch on &q...
2019 Apr 26
0
R 3.6.0 is released
...sample(), for instance) has been changed. This addresses the fact, pointed out by Ottoboni and Stark, that the previous method made sample() noticeably non-uniform on large populations. See PR#17494 for a discussion. The previous method can be requested using RNGkind() or RNGversion() if necessary for reproduction of old results. Thanks to Duncan Murdoch for contributing the patch and Gabe Becker for further assistance. The output of RNGkind() has been changed to also return the 'kind' used by sample(). NEW FEATURES: * Sys.setFileTime(...
2019 Apr 26
0
R 3.6.0 is released
...sample(), for instance) has been changed. This addresses the fact, pointed out by Ottoboni and Stark, that the previous method made sample() noticeably non-uniform on large populations. See PR#17494 for a discussion. The previous method can be requested using RNGkind() or RNGversion() if necessary for reproduction of old results. Thanks to Duncan Murdoch for contributing the patch and Gabe Becker for further assistance. The output of RNGkind() has been changed to also return the 'kind' used by sample(). NEW FEATURES: * Sys.setFileTime(...
2019 Apr 26
0
R 3.6.0 is released
...sample(), for instance) has been changed. This addresses the fact, pointed out by Ottoboni and Stark, that the previous method made sample() noticeably non-uniform on large populations. See PR#17494 for a discussion. The previous method can be requested using RNGkind() or RNGversion() if necessary for reproduction of old results. Thanks to Duncan Murdoch for contributing the patch and Gabe Becker for further assistance. The output of RNGkind() has been changed to also return the 'kind' used by sample(). NEW FEATURES: * Sys.setFileTime(...
2004 Mar 02
2
Some timings for 64 bit Opteron (ATLAS, GOTO, std)
...------------------------------------------------------- > --------------- > > ### Take a relative large model.matrix() --- as in ./predict-lm.R > ### "R BATCH --vanilla <this>" > > if(paste(R.version$major, R.version$minor, sep=".") >= 1.7) > RNGversion("1.6") > set.seed(47) > > ## Here: Want usual "noisy" model; almost no printing > n <- 5000 > x <- rnorm(n) > ldat <- > data.frame(x1 = x, > x2 = sort(5*x - rnorm(n)), > f1 = factor(pmin(12, rpois(n, lam= 5)...
2003 Apr 16
2
R-1.7.0 is released
...hat methods like foo.matrix and foo.integer will be used. Functions oldClass() and oldClass<-() get and set the "class" attribute as R without `methods' used to. o The default random number generators have been changed to `Mersenne-Twister' and `Inversion'. A new RNGversion() function allows you to restore the generators of an earlier R version if reproducibility is required. o Namespaces can now be defined for packages other than `base': see `Writing R Extensions'. This hides some internal objects and changes the search path from objects in a namesp...
2003 Apr 16
2
R-1.7.0 is released
...hat methods like foo.matrix and foo.integer will be used. Functions oldClass() and oldClass<-() get and set the "class" attribute as R without `methods' used to. o The default random number generators have been changed to `Mersenne-Twister' and `Inversion'. A new RNGversion() function allows you to restore the generators of an earlier R version if reproducibility is required. o Namespaces can now be defined for packages other than `base': see `Writing R Extensions'. This hides some internal objects and changes the search path from objects in a namesp...