Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-05-08 Thread Hervé Pagès
Christian, On 11-05-08 01:19 PM, cstrato wrote: Dear Herve, In my initial mail: https://stat.ethz.ch/pipermail/r-devel/2011-April/060688.html I wrote: "While R CMD check and R CMD INSTALL have always created the vignettes on R-2.12.1 or any earlier versions of R, I am no longer able to build th

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-05-08 Thread cstrato
Dear Herve, In my initial mail: https://stat.ethz.ch/pipermail/r-devel/2011-April/060688.html I wrote: "While R CMD check and R CMD INSTALL have always created the vignettes on R-2.12.1 or any earlier versions of R, I am no longer able to build the vignettes on R-2.13.0." Although I made the

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-05-08 Thread Hervé Pagès
Hi Christian, On 11-05-04 01:02 PM, cstrato wrote: Dear Simon, I did not complain about the R doing something wrong. I only wanted to know why, after all these years, R CMD check does suddenly no longer build the pdf-files of the vignettes. I also think that this is a legal question. Let me co

[Rd] Devel version of R CMD build may create packages with incomplete doc/ directories

2011-05-08 Thread Martin Morgan
An .Rnw file in the vignettes/ directory might reasonably \usepackage or \include .sty, .bib, or other (e.g., image) files in the same directory or a sub-directory. The .Rnw file is copied to inst/doc and hence installed, but the additional files are not. This means that the installed .Rnw file

[Rd] Warning when drop is missing

2011-05-08 Thread Hadley Wickham
Hi all, One common bug I find in my code is that I've forgotten to specify drop = F when subsetting a data frame, and then my code breaks when the result is unexpectedly a vector. Does anyone have an effective technique for preventing this from happening? I have an approach (see below) that works

Re: [Rd] anova.lm fails with test="Cp"

2011-05-08 Thread peter dalgaard
On May 8, 2011, at 09:25 , John Maindonald wrote: > Here is an example, modified from the help page to use test="Cp": > > >> fit0 <- lm(sr ~ 1, data = LifeCycleSavings) >> fit1 <- update(fit0, . ~ . + pop15) >> fit2

Re: [Rd] fortan common block

2011-05-08 Thread Barry Rowlingson
On Fri, May 6, 2011 at 4:04 PM, Paul Gilbert wrote: > Is it possible in R to call a fortran routine that sets variables in a common > block and expect the values to persist when a call is made from R to a second > routine that uses the common block? > > If not (as I suspect),  is it possible to

[Rd] anova.lm fails with test="Cp"

2011-05-08 Thread John Maindonald
Here is an example, modified from the help page to use test="Cp": > fit0 <- lm(sr ~ 1, data = LifeCycleSavings) > fit1 <- update(fit0, . ~ . + pop15) > fit2 <- update(fit1, . ~ . + pop75) > anova(fit0, fit1, fit2, tes