Re: [Rd] [R] Sweave: Variables in code chunk headers

2007-12-02 Thread Duncan Murdoch
Michael Hoffman wrote: > Duncan Murdoch wrote: > > >> On 01/12/2007 2:38 PM, Michael Hoffman wrote: >> >>> Dieter Menne wrote: >>> Michael Hoffman sneakemail.com> writes: > I would like to be able to do something like this: > ><>= >...

[Rd] sd(NA)

2007-12-02 Thread Wolfgang Huber
Dear Prof. Ripley I noted a change in the behaviour of "cov", which is very reasonable: ## R version 2.7.0 Under development (unstable) (2007-11-30 r43565) > cov(as.numeric(NA), as.numeric(NA), use="complete.obs") Error in cov(as.numeric(NA), as.numeric(NA), use = "complete.obs") : no comple

Re: [Rd] sd(NA)

2007-12-02 Thread Prof Brian Ripley
On Sun, 2 Dec 2007, Wolfgang Huber wrote: > Dear Prof. Ripley > > I noted a change in the behaviour of "cov", which is very reasonable: > > ## R version 2.7.0 Under development (unstable) (2007-11-30 r43565) > > cov(as.numeric(NA), as.numeric(NA), use="complete.obs") > Error in cov(as.numeric(NA)

Re: [Rd] [R] Sweave: Variables in code chunk headers

2007-12-02 Thread Michael Hoffman
Duncan Murdoch wrote: > I put together a clunky way to handle that for a presentation last week; > it may be enough for you. > > I leave the Sweave options at their defaults, but I have code chunks > that affect the appearance, and I run those without echoing to switch > between a couple of fo