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

2005-08-02 Thread Duncan Murdoch
Prof Brian Ripley wrote: > 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). There were both a read and a write. I can see the read being harmless, but is the write harm

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

2005-08-02 Thread murdoch
Prof Brian Ripley wrote: > 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). There were both a read and a write. I can see the read being harmless, but is the write harm

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

2005-08-02 Thread Prof Brian Ripley
Yes, optimization sometimes results in writes that are apparently harmless and go away if optimization is removed. It could be the bug you found (and glibc-2.3.5 had fixed) but it isn't in exactly the right place. But then, valgrind on my system does not have a problem with that one, optimized

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

2005-08-02 Thread Charles Geyer
On Tue, Aug 02, 2005 at 07:50:54AM -0400, Duncan Murdoch wrote: > Prof Brian Ripley wrote: > >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). > > There were both a rea

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

2005-08-02 Thread charlie
On Tue, Aug 02, 2005 at 07:50:54AM -0400, Duncan Murdoch wrote: > Prof Brian Ripley wrote: > >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). > > There were both a rea

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

2005-08-02 Thread Charles Geyer
On Tue, Aug 02, 2005 at 07:13:54AM +0100, Prof Brian Ripley wrote: > 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). linux$ R CMD config CFLAGS -g -O2 so no. I

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

2005-08-02 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > Gavin Simpson <[EMAIL PROTECTED]> writes: > > So far so good with FC4, gcc4, gfortran and R! > > The problem affecting the Fedora Extras RPM is still there with the > new compilers though: > > -Wp,-D_FORTIFY_SOURCE=2 > > combined with -O or -O

[Rd] possibility of R/Maxima linking

2005-08-02 Thread Robert Dodier
Hello, I'm aware that recently there has been discussion of R joining forces with an algebra system in some way. Here is my $0.02. I suggest linking R with Maxima (http://maxima.sf.net). Maxima is written in Lisp. Maxima objects are pretty simple. Maxima works on expressions, and almost every exp