Displaying 20 results from an estimated 300 matches similar to: "Re: [R] Strange means of numbers drawn from rpois (PR#730)"
2000 Nov 08
3
Strange means of numbers drawn from rpois
Dear all,
I think I must be going crazy.... If I do
> mean(rpois(1000000, 14))
I get:
[1] 13.50420
and again:
> mean(rpois(1000000, 14))
[1] 13.49896
> mean(rpois(1000000, 14))
[1] 13.50161
> mean(rpois(1000000, 15))
[1] 14.49250
> mean(rpois(1000000, 15))
[1] 14.49897
> mean(rpois(1000000, 14.5))
[1] 13.99689
> mean(rpois(1000000, 14.5))
[1] 13.9963
This was on a
platform
2001 Jun 25
5
Trouble compiling R-1.3.0 under Tru64
Dear all,
I have some difficulty getting R-1.3.0 to run on the alpha, with osf4.0e
(Tru64, or whatever they call it... :-) ).
configure reports the following configuration:
R is now configured for alphaev6-dec-osf4.0e
Source directory: .
Installation directory: /astro/local
C compiler: gcc -mieee -g -O2
C++ compiler: c++ -g -O2
FORTRAN
2001 Jun 25
5
Trouble compiling R-1.3.0 under Tru64
Dear all,
I have some difficulty getting R-1.3.0 to run on the alpha, with osf4.0e
(Tru64, or whatever they call it... :-) ).
configure reports the following configuration:
R is now configured for alphaev6-dec-osf4.0e
Source directory: .
Installation directory: /astro/local
C compiler: gcc -mieee -g -O2
C++ compiler: c++ -g -O2
FORTRAN
2000 Apr 30
2
rpois hangs (PR#530)
Full_Name: Kjetil Kjernsmo
Version: Version 1.0.0
OS: osf1
Submission from: (NULL) (129.240.28.227)
Dear all,
I have come across another really strange bug in rpois.
If I do
> rpois(1, 1000000 * rpois(1, 10000))
sometimes it hangs, and hangs...
On my XP1000 alphaev6 workstation, it seems to happen more
frequently than on other machines. I started a session on an older
computer, and from
2000 Nov 08
0
Re: [R] Strange means of numbers drawn from rpois (PR#730)
Kjetil Kjernsmo <kjetil.kjernsmo@astro.uio.no> writes:
> On 8 Nov 2000, Peter Dalgaard BSA wrote:
>
> >> > range(sapply(1:2000, function(n) mean(rpois(10000, c(15,15+1e-8)))))
> >> [1] 14.8692 15.1200
> >
> >AHA! Spotted, I think.
>
> Wow! Great, that was fast!
>
> >It is possible to return from rpois in step N,
> >in which case
2000 Feb 15
1
rpois gives a large number repeatedly (PR#439)
Full_Name: Kjetil Kjernsmo
Version: 0.65.1
OS: Digital UNIX 4.0
Submission from: (NULL) (129.240.28.172)
I'm experiencing problems with rpois. Occasionally, it draws a very high
number.
Yeah, I know, this is statistics, things like that does happen, but this really
strange because a poisson distribution with a parameter of 3 shouldn't see the
number 1932 very often, but the same,
2000 Nov 08
1
Re: [R] Strange means of numbers drawn from rpois (PR#729)
Kjetil Kjernsmo <kjetil.kjernsmo@astro.uio.no> writes:
> On 8 Nov 2000, Peter Dalgaard BSA wrote:
>
> >I'm not at all happy with this:
> >
> >Solaris :
> >> range(sapply(1:2000, function(n) mean(rpois(10000, 15.0))))
> >[1] 15.0524 15.3403
>
> Hm, OK, so it isn't just me.... I guess it is time to file a bug report,
> should I do it,
2001 Jun 01
1
Installing Rstreams lib
Dear R-helpers,
I am trying to install Rstreams library on the following platform:
----------------------------
platform alphaev67-dec-osf5.0
arch alphaev67
os osf5.0
system alphaev67, osf5.0
status
major 1
minor 2.3
year 2001
month 04
day 26
language R
---------------------------
Unfortunately, I get these error messages:
---------------------------
> [557] R
1999 Dec 20
2
digital unix linking problem
Greetings.
I'm trying to install R-0.90.1 on our digital 4.0F servers (alphaev6 arch).
Using either the digital cc and f77, or gcc 2.95.2 and g77, R compiles,
but on trying to execute it I get:
11819:./bin/R.X11: /sbin/loader: Fatal Error: cannot map xxxxxxx
I'm used to 'cannot map', but always with a shared library name,
not 'xxxxxxx'. Has anyone else run into this
2002 Apr 30
1
Undefined symbols in loading tcltk (PR#1499)
Non of these errors occured in earliers versions of R.
> library(tcltk)
/usr/lib/dld.sl: Unresolved symbol: Tcl_GetVar2Ex (code) from /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl
/usr/lib/dld.sl: Unresolved symbol: Tcl_GetString (code) from /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl
/usr/lib/dld.sl: Unresolved symbol: Tcl_SetVar2Ex (code) from
2000 Jun 09
0
Disappearing values (PR#551)
Dear all,
Uwe e-mailed me yesterday about the problems some time ago. I had hoped
someone would have a look at our computers, but due to some unfortunate
circumstances, it hasn't happened. However, it seems unlikely that it is
connected to a specific piece of hardware. It could be an
architecture-dependent problem though. I also had a word with those who
did the installation of R, and they
2001 Dec 16
1
compile errors with rsync 2.5.0 for RedHat linux 7.1 alpha
Hi,
Trying to compile rsync 2.5.0 for RedHat linux 7.1
alpha but I get compile errors. :-( Any ideas would be
greatly appreciated!
# uname -a
Linux myhost 2.4.9-12 #1 Tue Oct 30 18:12:52 EST 2001
alpha unknown
# cat /etc/redhat-release
Red Hat Linux release 7.1 (Seawolf)
# ./configure --prefix=/usr/local/rsync-2.5.0
configure: Configuring rsync 2.5.0
checking build system type...
2000 Jan 14
2
Matrix output from drawing functions
Dear all,
I'm a bit confused about the output from functions that generates random
values, e.g. rpois. I'm using 0.65.1 on Digital UNIX alphaev6.
If I say
> rpois(10,5)
output is not unexpectedly:
[1] 4 6 5 7 6 5 2 2 5 3
but I figured that if I go:
> rpois(10,1:10)
I would get a 10x10 matrix as output, with random values for each of
the vector elements in the row vectors, but
2000 Dec 07
1
Reversing x-axis
Dear all,
I'm making a system to create a star-chart, and I have encountered one of
the intuitive and clearly thoughtful conventions that are so common in
astronomy :-J... Well, the point being, I have to reverse the x-axis.
I figured, I might just set xlim=rev(range(x)). Do e.g.
> x <- 0:5
> y <- (0:5)^3
> plot(x, y)
> plot(x, y, xlim=rev(range(x)))
The problem is that here
2006 Mar 03
4
[Bug 1171] configure can't always figure out LLONG_MAX.
http://bugzilla.mindrot.org/show_bug.cgi?id=1171
Summary: configure can't always figure out LLONG_MAX.
Product: Portable OpenSSH
Version: -current
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: bitbucket at mindrot.org
2001 Jul 19
1
Compiling R-1.3.0-patched on OSF1
Dear R-users,
I currently have trouble in trying to compile R-1.3.0-patched on Compaq
OSF1.
--------
>uname -a
OSF1 adenine.fysik.dtu.dk V4.0 1229 alpha
--------
The 'configure' step ended seemingly corretly:
-----------------------
R is now configured for alphaev6-dec-osf4.0f
Source directory: .
Installation directory: /home/adenine/sysman/laurent/share/
C
2000 Feb 11
2
R hangs sometimes and crashes (PR#429)
Full_Name: Kjetil Kjernsmo
Version: 0.65.1
OS: Digital UNIX 4.0
Submission from: (NULL) (129.240.28.172)
I have the following R code:
ncloudsbin <- function(binno, ntotalclouds, numberofbins = 100, linewidth =
numberofbins / 6)
return(ntotalclouds * dnorm(binno, sd = linewidth))
photonsincidenttodetectorbin <- function(binno, ntotalclouds,
avgphotonfromcloud, ampmode = 1, ampmean = 2,
2000 Nov 26
1
Problem with NAs using chisq.test() (PR#748)
Full_Name: Kjetil Kjernsmo
Version: 1.1.1.1 (patched the rpois :-))
OS: osf4.0e
Submission from: (NULL) (129.240.28.227)
Dear all,
I have just gotten through a debugging session of my code, being confused
for a few days. I sent what I thought was a straightforward matrix to
chisq.test() and once in a while got the error message:
> chisq.test(t2)
Error in chisq.test(t2) : missing value where
2002 May 06
1
A make problem with Samba 2.2.4
Hi,
I've downloaded Samba 2.2.4 today and attempted to install it on our Compaq
AlphaServers running Compaq Tru64 v5.1A. It configures OK, but "make"
produces a few serious looking warnings. I've captured both "./configure"
and "make" to the attached text file.
Examples:
....
Compiling smbd/password.c
cc: Warning: smbd/password.c, line 664: In this
2000 Jun 24
1
Garbage Collecting
Dear all,
Me and the Garbage Collector doesn't understand each other...
I'm on R-1.0.1 (I have requested an upgrade to the right local people), an
osf1 system with an alphaev6 CPU. I have fair amounts of memory to use,
but it seems to be used up pretty fast nevertheless.
I'm now trying to see what the garbage collector does, I have inserted a
gc(v=T)
call at a spot in my code.
I