Re: [Rd] CRAN: MacOS X binary: not available, see check log?

2010-04-19 Thread Henrik Bengtsson
Hi, On Thu, Apr 15, 2010 at 3:45 PM, Simon Urbanek wrote: > > On Apr 15, 2010, at 2:26 AM, Henrik Bengtsson wrote: > >> For a couple of days, MacOS X binaries are not build on CRAN (for my >> recently uploaded packages only?): >> > > AFAICS your package was posted on Apr 13 so at the earliest it

[Rd] Derivative of model formula

2010-04-19 Thread Dimitris Rizopoulos
Dear All, I'd like to ask fro any pointers to code in any package out there that can (even partially) handle the following situation: say we have the linear model # toy data y <- rnorm(100) time <- runif(100, 0, 5) treat <- gl(2, 50, labels = c("placebo", "active")) sex <- gl(2, 1, 100, label

Re: [Rd] Issue with aggregate.ts and/or %\% on Windows

2010-04-19 Thread Peter Dalgaard
Patrick Aboyoun wrote: > I've stumbled across an issue with aggregate.ts that either is due to a > misuse of %/% or something deeper relating to numerical precision on > Windows. The test code is > > x <- rep(6:10, 1:5) > as.vector(aggregate(as.ts(x), FUN = mean, ndeltat = 5)) > > On Linux and

Re: [Rd] bug in aggregate.ts

2010-04-19 Thread Felix Andrews
Sorry, I didn't notice Patrick Aboyoun's email reporting the same issue just some minutes ago. On 20 April 2010 10:41, Felix Andrews wrote: > Hi, > > I am getting unexpected behaviour from aggregate.ts(). The 'ndeltat' > argument is effectively being reduced by 1 in some cases, even when it > is

[Rd] bug in aggregate.ts

2010-04-19 Thread Felix Andrews
Hi, I am getting unexpected behaviour from aggregate.ts(). The 'ndeltat' argument is effectively being reduced by 1 in some cases, even when it is an integer, with the result that the blocks to be aggregated are not of the expected size, and also that the end() of the aggregated series is much lat

[Rd] Issue with aggregate.ts and/or %\% on Windows

2010-04-19 Thread Patrick Aboyoun
I've stumbled across an issue with aggregate.ts that either is due to a misuse of %/% or something deeper relating to numerical precision on Windows. The test code is x <- rep(6:10, 1:5) as.vector(aggregate(as.ts(x), FUN = mean, ndeltat = 5)) On Linux and Mac I get the correct answer > x <- r

Re: [Rd] transient memory allocation and external pointers

2010-04-19 Thread Seth Falcon
On 4/19/10 8:59 AM, Simon Urbanek wrote: On Apr 19, 2010, at 10:39 AM, Melissa Jane Hubisz wrote: Hello, The Writing R extensions manual section 6.1.1 describes the transient memory allocation function R_alloc, and states that memory allocated by R_alloc is automatically freed after the .C or

Re: [Rd] Lapack, determinant, multivariate normal density, solution to linear system, C language

2010-04-19 Thread Douglas Bates
On Mon, Apr 12, 2010 at 10:27 PM, shotwelm wrote: > r-devel list, > > I have recently written an R package that solves a linear least squares > problem, and computes the multivariate normal density function. For both of those applications you can use a Cholesky decomposition of the symmetric matr

Re: [Rd] utf8.def

2010-04-19 Thread Paul Gilbert
Thanks Brian. Yes, "make pdf" fails and my latex is too old (2001/06/01). Paul >-Original Message- >From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] >Sent: April 19, 2010 12:14 PM >To: Paul Gilbert >Cc: r-devel@r-project.org >Subject: RE: [Rd] utf8.def > >On Mon, 19 Apr 2010, Paul G

Re: [Rd] utf8.def

2010-04-19 Thread Prof Brian Ripley
On Mon, 19 Apr 2010, Paul Gilbert wrote: -Original Message- From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] Sent: April 19, 2010 11:20 AM To: Paul Gilbert Cc: r-devel@r-project.org Subject: Re: [Rd] utf8.def On Mon, 19 Apr 2010, Paul Gilbert wrote: I am trying to check my pa

Re: [Rd] transient memory allocation and external pointers

2010-04-19 Thread Simon Urbanek
On Apr 19, 2010, at 10:39 AM, Melissa Jane Hubisz wrote: > Hello, > The Writing R extensions manual section 6.1.1 describes the transient > memory allocation function R_alloc, and states that memory allocated > by R_alloc is automatically freed after the .C or .Call function is > completed. Howe

Re: [Rd] utf8.def

2010-04-19 Thread Paul Gilbert
>-Original Message- >From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] >Sent: April 19, 2010 11:20 AM >To: Paul Gilbert >Cc: r-devel@r-project.org >Subject: Re: [Rd] utf8.def > >On Mon, 19 Apr 2010, Paul Gilbert wrote: > >> I am trying to check my packages with R-rc > >And what is th

Re: [Rd] utf8.def

2010-04-19 Thread Prof Brian Ripley
On Mon, 19 Apr 2010, Paul Gilbert wrote: I am trying to check my packages with R-rc And what is that? Please do note what the posting guide says about giving accurate version information. and latex is failing to find utf8.def. I presume my latex installation is defective or too old, or i

[Rd] utf8.def

2010-04-19 Thread Paul Gilbert
I am trying to check my packages with R-rc and latex is failing to find utf8.def. I presume my latex installation is defective or too old, or is this file distributed with R and I just don't have a path set correctly? Paul __ * checking PDF version of manual ... WARNING LaTeX

[Rd] Syncing window plot update events during long-running evaluation

2010-04-19 Thread Roebuck,Paul L
I have two source packages, one normal and another a Tcl/Tk UI for controlling the former. However, as all UI arguments are passed to a single (potentially VERY long-running) function in the normal package, all output shows up after the completion of that function. I have a sort-of workaround for u

[Rd] transient memory allocation and external pointers

2010-04-19 Thread Melissa Jane Hubisz
Hello, The Writing R extensions manual section 6.1.1 describes the transient memory allocation function R_alloc, and states that memory allocated by R_alloc is automatically freed after the .C or .Call function is completed. However, based on my understanding of R's memory handling, as well as som

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-19 Thread Michael Dewey
At 01:09 16/04/2010, mark.braving...@csiro.au wrote: Speaking as a copious generator of CMD CHECK notes: I don't see that there's a problem to be solved here-- i.e. I don't see why it's worth changing good code or adding conventions just to circumvent CMD CHECK notes. (If the code is bad, of c

Re: [Rd] tiny typo in ?prop.test: "if" for "is"

2010-04-19 Thread Duncan Murdoch
On 18/04/2010 12:53 PM, Ben Bolker wrote: > from revision 51769: > > Index: prop.test.Rd > === > --- prop.test.Rd(revision 51769) > +++ prop.test.Rd(working copy) > @@ -60,7 +60,7 @@ > >If there is only one group, then th

[Rd] about gsoc ideas

2010-04-19 Thread wangxiang
Hi, James You have put comments on my gsoc ideas, but I have replied it lately and can I have some talk with you? My proposal is "about vocal tract modeling", thanks! -- Xiang Wang Institue Of Acoustics, CAS [[alternative HTML version deleted]] __