Displaying 20 results from an estimated 600 matches similar to: "Replacing the Random Number Generator in Stand Alone Library"
2012 Jan 27
2
The following code (using rgamma) hangs
Hi,
I'm seeing something that may be a bug in R's standalone math library,
which is packaged by Debian as r-mathlib. I reported it to the Debian BTS
as http://bugs.debian.org/657573
I'm using Debian squeeze, and the code was tested with r-mathlib 2.11.1-6
(default on stable) and 2.14.1-1 (from testing/unstable).
I summarize this report below. The following code with the R math
1999 Feb 24
2
Compiling R on Sunos
I'm looking for some help in getting R to compile on Sunos. We run a
collection of Sunos and Solaris machines in the department here. I got
to compile on Solaris 2.5.1 using gcc 2.7.2.2. On my Sunos 4.1.3 (and
I've tried it on Sunos 4.1.4 as well) machines, it crashes during the
compile. I'm using gcc 2.8.1 on there. It gets to this point:
gcc -g -O2 -I../include
1999 Jun 12
0
Random numbers
Hi,
I have a few questions about the RNG in R; apologies if these are dumb
questions:
1. It is my understanding that, among the three types of random number
generators available in R now, the best one is the Marsaglia Multicarry. Is
this correct?
2. How does the best RNG in R compare (in terms of quality) to the RNG in
SPlus? (based on Marsaglia's Super Duper)? Does the Super-Duper in
1999 May 04
1
rnorm
Brian
I've been playing a bit with the Wichmann-Hill RNG. I would prefer to have
normally distributed random numbers and I think I have things generally worked
out to use Wichmann-Hill and then Box-Muller. In the process, I was looking at
R's rnorm.c, but could not figure out what transformation is used in R to
convert uniform rv's to normal rv's. Do you know? It looks like there
2005 Nov 17
2
R questions
Dear Sir/Madam,
I am a beginner in R. Here is my questions.
1. Can you give me one test for randomness (a name and descriptive
paragraph is sufficient).
2. I have learned a uniform random number generator [e.g. not the
algorithms: i)Wichmann-Hill, ii) Marsaglia-Multicarry, iii) Super-Duper
(Marsaglia), iv) Mersenne-Twister, v) TAOCP-1997 (Knuth), or vi) TAOCP-2002
(Knuth)] . Is there any other
2008 Aug 19
1
RNGkind() state (PR#12567)
I sent this to R-devel early last month, but have received no response, so I guess it
really is a bug.
This looks like a bug to me, and is a bit hard to describe, but easy to reproduce. ?
Basically, if RNGkind is saved as something other than the default, and if the first
operation in a session is a set.seed(), the default is reverted to. ?Reproduce by:
cafe-rozo> ?R --vanilla
R version
2008 Aug 17
1
Wichmann-Hill Random Number Generator and the Birthday Problem
Dear all,
Recently I am generating large random samples (10M) and any duplicated
numbers are not desired.
We tried several RNGs in R and found Wichmann-Hill did not produce
duplications.
The duplication problem is the interesting birthday problem. If there are
M possible numbers, randomly draw N numbers from them,
the average number of dupilcations D = N(N-1)/2/M.
For Knuth-TAOCP and
2003 Jan 09
1
RNG.c: unif_rand, MARSAGLIA_MULTICARRY (PR#2437)
Full_Name: Richard Simard
Version:
OS: Linux
Submission from: (NULL) (132.204.25.139)
In the random number generator MARSAGLIA_MULTICARRY, your algorithm is
different than the one in the original reference that you give in the R manual:
Marsaglia in his post to the mailing list {\it sci.stat.math} on September 29,
1997.
The last line in the R program has a ^
while Marsaglia's algorithm has
2005 Mar 14
2
Bug on MWC1019?
Dear R-developer (Marsaglia??)
The following piece of code from package SuppDist , routine "dist.cc" seems
to have a bug
ULONG MWC1019(void){
ULONG long t;
int i = endQ-1;
t = 147669672LL*Q[i] + Q[endQ];
Q[endQ] = (t>>32);
if(i>0)
return(Q[i--] = t);
i = endQ-1;
return(Q[0] = t);
}
in fact , being "i" a local variable that have automatic storage, it is
2003 Oct 16
2
.Random.seed
I am writing a function for the purposes of a simulation. Due to memory
problems, the function sometimes crashes. In order to get around this
problem, I would like to include to be able to save the "last" seed, so I
can pick up with the next run of the simulation after a "crash". I am
having trouble understanding what is going on with .Random.seed!
For each run of the
1999 Feb 05
0
Installing R programs (PROBLEMS !!!!)
[forwarded to R-devel, where this really belongs]
>>>>> "Samira" == Samira M Ismail <samira@ime.unicamp.br> writes:
(to me in a private mail)
Samira> We have been trying to install R.0.63 for Unix (SunOS 4.1.4 -
Samira> SPARC 20) and we detected the following problem which makes
Samira> impossible to run R. We have got the following message:
1999 Feb 05
0
[Fwd] Problems installing R on SunOS 4.1.4
[forwarded to R-devel, where this really belongs]
>>>>> "Samira" == Samira M Ismail <samira@ime.unicamp.br> writes:
(to me in a private mail)
Samira> We have been trying to install R.0.63 for Unix (SunOS 4.1.4 -
Samira> SPARC 20) and we detected the following problem which makes
Samira> impossible to run R. We have got the following message:
2002 Aug 12
1
set.seed
I'm running into problems with set.seed--maybe I'm misunderstanding
something.
I'm running R 1.5.1 on Windows 2000.
I'm basically trying to capture the random seed so that I can reproduce a
simulation if it's necessary later. Using set.seed, I can certainly get
reproducible results, but not the results I get on the first pass. Here's
an example:
# Generate a random
2002 Jan 27
2
Journal of Statistical Software
JSS, which is at http://www.jstatsoft.org, publishes statistical software
with manuals, as well as papers describing, comparing, and evaluating
statistical
software. Abstracts of all contributions accepted in JSS are published in
printed form in JCGS.
Although we publish software written in any language, we especially
welcome software written in R. The general idea is that packages written
in R
2002 Jan 27
2
Journal of Statistical Software
JSS, which is at http://www.jstatsoft.org, publishes statistical software
with manuals, as well as papers describing, comparing, and evaluating
statistical
software. Abstracts of all contributions accepted in JSS are published in
printed form in JCGS.
Although we publish software written in any language, we especially
welcome software written in R. The general idea is that packages written
in R
2008 Aug 14
2
[R] RNG Cycle and Duplication (PR#12540)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---559023410-851401618-1218751024=:15885
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
I didn't describe the problem clearly. It's about the number of distinct=20
values. So just
2006 Jun 24
0
Active Record w/ Stand Alone Script (no longer working?)
I know I''ve had this working several months ago:
http://wiki.rubyonrails.com/rails/pages/HowToUseActiveRecordThroughStandAloneScript
IE:
1. #!/usr/bin/env ruby
2. RAILS_ENV = ''production''
3.
4. require File.dirname(__FILE__) + ''/../config/boot''
5.
6. @u = User.find( :all )
----
# ruby test.rb
> test.rb:5: uninitialized constant User (NameError)
2010 Jul 10
0
module collections - stand alone puppet architecture
does one of the module collections support a stand-alone puppet
better than the others?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
2007 Dec 17
0
stand alone winbind deamon services via apis
Hello,
When I mount a cifs share from Windows server onto a linux client, all
I am interested in is sid to uid and gid and vice versa mapping.
Can I accomplish that using just windbind and not samba server and
nmbd i.e. have a windbind.conf file with the pertinent stanza!
Say I just give the Windows share server name/ip address and sid to
winbind deamon via one of its existing APIs, can it
2010 Jul 28
0
(Better formating) Puppet Standalone Client + Fileserving, not working.... (+ nice tutorial for puppet stand-alone) :)
Puppet local fileserving not working, as described here:
http://docs.reductivelabs.com/guides/modules.html
I''ve made a project to demonstrate this:
http://github.com/mindreframer/puppet_stand_alone_testing
There is more in the README...
(http://github.com/mindreframer/puppet_stand_alone_testing/blob/master/
Readme.md)
Would be nice to get this working, it seems wasteful the rewrite