Re: [Rd] valgrind complains about regex.c (PR#8043)

2005-08-01 Thread Prof Brian Ripley
Did you compile R without optimization? Such reads are often the result of read-aheads produced by the optimizer in an attempt to keep pipelines full (and are harmless). On an un-optimized build of R I am unable to reproduce this. (I also was unable to reproduce it on my optimized build of 2.

[Rd] valgrind complains about regex.c (PR#8043)

2005-08-01 Thread charlie
I think I am using objects according to the man page. This seems to be a valid regular expression. But whether I know what I'm doing or no, it still shouldn't be doing what valgrind seems to be saying it's doing. (IMHO) -- start of script -- Script started on Mon 01 Aug 2005 02:09

Re: [Rd] fifo on Windows

2005-08-01 Thread Gabor Grothendieck
fifo already works on UNIX, I assume, so it seems its already the situation that fifos are supported on some machines running R but not on others. If they were supported on those Windows platforms that can handle them then that would simply increase the proportion of machines running R that can

Re: [Rd] Follow-Up: R on FC4

2005-08-01 Thread Peter Dalgaard
Gavin Simpson <[EMAIL PROTECTED]> writes: > > Try this again -- it is a random test. If it fails again then something > > is wrong. The tolerance on these tests is not very tight, certainly > > nowhere near rounding error. > > Thanks Thomas, > > A re-compile with the same options of R-Devel

Re: [Rd] fifo on Windows

2005-08-01 Thread Duncan Murdoch
Gabor Grothendieck wrote: > Are there any plans to support fifo on Windows? On my XP > system ("R version 2.1.1, 2005-06-23") > >R> capabilities("fifo") > > gives FALSE. > > Note that Windows does support named pipes as shown > in the utility: > >http://gearbox.maem.umr.edu/fwu/pipeslo

Re: [Rd] Follow-Up: R on FC4

2005-08-01 Thread Gavin Simpson
On Mon, 2005-08-01 at 10:16 -0700, Thomas Lumley wrote: > On Mon, 1 Aug 2005, Gavin Simpson wrote: > > R-devel compiles without error (same set of flags as above) but fails > > make check-all in p-r-random-tests.R - the relevant section of p-r- > > random-tests.Rout.fail is: > > > > ... > >> dkwtes

Re: [Rd] Follow-Up: R on FC4

2005-08-01 Thread Thomas Lumley
On Mon, 1 Aug 2005, Gavin Simpson wrote: > R-devel compiles without error (same set of flags as above) but fails > make check-all in p-r-random-tests.R - the relevant section of p-r- > random-tests.Rout.fail is: > > ... >> dkwtest("norm") > norm() PASSED > [1] TRUE >> dkwtest("norm",mean = 5,sd = 3

[Rd] fifo on Windows

2005-08-01 Thread Gabor Grothendieck
Are there any plans to support fifo on Windows? On my XP system ("R version 2.1.1, 2005-06-23") R> capabilities("fifo") gives FALSE. Note that Windows does support named pipes as shown in the utility: http://gearbox.maem.umr.edu/fwu/pipeslot.zip _

[Rd] Follow-Up: R on FC4

2005-08-01 Thread Gavin Simpson
Dear List, A few weeks ago a discussion took place regarding Fedora Core 4 and compiling R on that platform using the new version 4 of gcc and its gfortran compiler. gcc was recently updated to 4.0.1 on FC4 (4.0.1-5 in Red Hat Land) so I thought I'd give compiling R a go on my laptop which needed

Re: [Rd] Testing for English locale

2005-08-01 Thread Simon Urbanek
On Aug 1, 2005, at 10:20 AM, John Fox wrote: > Is there a platform-independent way to test whether R is running in > an English locale? I suppose the following should work: Sys.getlocale("LC_CTYPE")=="C" || length(grep("^en",Sys.getlocale ("LC_CTYPE"),TRUE))>0 Basically unix platforms will h

[Rd] Testing for English locale

2005-08-01 Thread John Fox
Dear r-devel list members, Is there a platform-independent way to test whether R is running in an English locale? Thanks, John John Fox Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfo

Re: [Rd] Most accurate timing?

2005-08-01 Thread Duncan Murdoch
On 8/1/2005 9:09 AM, Martin Maechler wrote: >> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> >> on Mon, 01 Aug 2005 08:48:39 -0400 writes: > > Duncan> For a graphics display, I'd like a high resolution > Duncan> timer, something like Sys.time(), but it is only > Duncan> ac

Re: [Rd] Most accurate timing?

2005-08-01 Thread Martin Maechler
> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> > on Mon, 01 Aug 2005 08:48:39 -0400 writes: Duncan> For a graphics display, I'd like a high resolution Duncan> timer, something like Sys.time(), but it is only Duncan> accurate to a second. Is there a clock in R that Du

[Rd] Most accurate timing?

2005-08-01 Thread Duncan Murdoch
For a graphics display, I'd like a high resolution timer, something like Sys.time(), but it is only accurate to a second. Is there a clock in R that gives a finer value? Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailma