Displaying 8 results from an estimated 8 matches for "rdpeng".
2007 May 04
1
Display list redraw incomplete
Since compiling R 2.5.0 from source on my Mac (PowerBook) I've noticed
some strange behavior when plotting. I'm not sure if it's a problem
with my setup/compilation because I feel like a problem as basic as
this one would have been reported already. I'm running R with X11 and
R was built with gcc 4.0.1.
Basically, I run
> plot(0, 0)
> dev.off()
X11
4
Warning message:
2006 Aug 18
2
Floating point imprecision in sum() under R-2.3.1?
After upgrading to R-2.3.1 on Linux Redhat, I was suprised by this:
R> x <- c(721.077, 592.291, 372.208, 381.182)
R> sum(x) - 2066.758
[1] 4.547474e-13
Now I understand that floating point arithmetic is not precise, but
1) the result is exactly 0 in R-2.2.1 (patched) on the same machine,
2) .Machine$double.eps = 2.2e-16, so the error seems quite large.
Also note I get the same
2007 Mar 02
1
Fwd: Re: [friday topic]: what exactly is statistical computing
...and what I had in the syllabus.
Rich
---- Original message ----
>Date: Fri, 2 Mar 2007 13:25:59 -0600
>From: "Lucke, Joseph F" <Joseph.F.Lucke at uth.tmc.edu>
>Subject: Re: [R] [friday topic]: what exactly is statistical computing
>To: "Roger D. Peng" <rdpeng at gmail.com>, "Wensui Liu" <liuwensui at gmail.com>
>Cc: r-help at stat.math.ethz.ch, "Bos, Roger" <roger.bos at us.rothschild.com>
>
>Statistical computing perhaps is not so much a single topic as a family
>of related topics (a la Wittgenstein) that...
2006 Jun 02
4
function environment
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
how can I automatically access the functions that I loaded into a
separate environment?
> save(A,B,file="myfun.r")
> load("myfun.r",envir=(ENV<-new.env()))
> ls(ENV)
[1] "A" "B"
?"[" turned up that I can access the functions via
> ENV$A
function ()
{
}
> ENV$A()
NULL
Now, how
2007 Oct 15
2
Digest package - make digest generic?
On 10/15/07, Henrik Bengtsson <hb at maths.lth.se> wrote:
> [As agreed, CC:ing r-devel since others might be interested in this as well.]
>
> Hi.
>
> On 10/15/07, Dirk Eddelbuettel <edd at debian.org> wrote:
> >
> > Hi Hadley,
> >
> > On 15 October 2007 at 09:51, hadley wickham wrote:
> > | Would you consider making digest a generic
2007 Sep 26
1
Lack of final newline in write.dcf changes append usage
The change in r42731 eliminating the final blank line when writing DCF
files changes the way 'append' can be used in 'write.dcf' and I was
wondering if this is intentional. Basically, I want to write a data
frame to DCF format one row at a time, so I make use of repeated calls
to 'write.dcf(append = TRUE)'. However, in R 2.6.0RC the resulting DCF
file is not formatted
2006 Sep 05
1
serialize changes for 2.4.0
I noticed today that in R 2.3.1, I get
> serialize(list(1,2,3), NULL, ascii = TRUE)
[1] "A\n2\n131841\n131840\n19\n3\n14\n1\n1\n14\n1\n2\n14\n1\n3\n"
>
but in R 2.4.0 alpha I get
> serialize(list(1,2,3), NULL, ascii = TRUE)
[1] 41 0a 32 0a 31 33 32 30 39 36 0a 31 33 31 38 34 30 0a 31 39 0a 33 0a 31 34
[26] 0a 31 0a 31 0a 31 34 0a 31 0a 32 0a 31 34 0a 31 0a 33 0a
>
2006 May 19
2
delayedAssign and interrupts
I noticed something recently that I thought was odd:
delayedAssign("x", { Sys.sleep(5); 1 })
x ## Hit Ctrl-C within the first second or 2
gives me:
> delayedAssign("x", { Sys.sleep(5); 1 })
> x ## Hit Ctrl-C within the first second or two
> x
Error: recursive default argument reference
>
My only problem here is that now I'm stuck---there's no way