Re: [Rd] 1-based arrays and copying vectors

2005-06-19 Thread Douglas Bates
On 6/19/05, Rob Lopaka Lee <[EMAIL PROTECTED]> wrote: > I'm interfacing to C code that uses 1-based indexing on arrays -- it > ignores the zeroth element. Thus, input vectors from R must be moved up > one, and output arrays must be moved down one. > > What is the best way to deal with this using

[Rd] 1-based arrays and copying vectors

2005-06-19 Thread Rob
I'm interfacing to C code that uses 1-based indexing on arrays -- it ignores the zeroth element. Thus, input vectors from R must be moved up one, and output arrays must be moved down one. What is the best way to deal with this using R internal code? My current approach is: For an input R vector

Re: [Rd] loess returns different standard errors for identical models (PR#7956)

2005-06-19 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > Peter Dalgaard <[EMAIL PROTECTED]> writes: > > > Prof Brian Ripley <[EMAIL PROTECTED]> writes: > > > > > I've seen many similar things in a report from valgrind. But they > > > went away when compiled without optimization: it seems optimization > > >