Re: [Rd] R CMD build processes inst/doc/Makefile only if there are vignette files?

2011-05-01 Thread Hervé Pagès
On 11-04-29 10:36 PM, Prof Brian Ripley wrote: On Fri, 29 Apr 2011, Hervé Pagès wrote: On 11-03-30 01:55 AM, Prof Brian Ripley wrote: What R CMD build (and check) does is to call tools::buildVignettes. That has been true for a while, and buildVignettes() returns if no vignettes are found. The

Re: [Rd] grid stringHeight

2011-05-01 Thread baptiste auguie
Hi, I see, thanks. I incorrectly thought it used to produce the same output in the past. As a workaround I will wrap all strings in expression() before evaluating the grobHeight; otherwise the calculated layout can clip portions of the text. Thanks, baptiste On 2 May 2011 15:00, Paul Murrell w

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

2011-05-01 Thread Prof Brian Ripley
On Sun, 1 May 2011, Duncan Murdoch wrote: On 11-05-01 4:10 PM, cstrato wrote: Dear Duncan, dear Uwe, Since I have installed both WinXP and OpenSUSE 11.3 on my Mac in a virtual machine, I have now done the following tests on all three architectures: 1, R CMD build xps: This creates "xps_1.13.1

Re: [Rd] grid stringHeight

2011-05-01 Thread Paul Murrell
Hi This is a basic "feature" of both strheight() and stringHeight(). They both ignore any descenders in the text. I cannot remember why it was done this way originally. The future solution is probably to add an argument that allows descenders to be included in text height. Plotmath works

Re: [Rd] Reference Classes: Accessing methods via [[...]], bug?

2011-05-01 Thread John Chambers
On 5/1/11 3:37 PM, Martin Morgan wrote: On 05/01/2011 03:09 PM, John Chambers wrote: Yes, as presented on that site it makes a little more sense: "While experimenting with the new reference classes in R I noticed some odd behaviour if you use the "[[ ]]" notation for methods (X[["doSomething"]]

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

2011-05-01 Thread Duncan Murdoch
On 11-05-01 4:10 PM, cstrato wrote: Dear Duncan, dear Uwe, Since I have installed both WinXP and OpenSUSE 11.3 on my Mac in a virtual machine, I have now done the following tests on all three architectures: 1, R CMD build xps: This creates "xps_1.13.1.tar.gz" which DOES contain all vignettes as

Re: [Rd] Bug report: R 2.14.0dev Sweave option width does not work

2011-05-01 Thread Duncan Murdoch
On 11-05-01 7:35 AM, Duncan Murdoch wrote: On 30/04/11 7:25 PM, Alexander Favorov wrote: Hi! In R 2.14.0dev (R version 2.14.0 Under development (unstable) (2011-04-29 r55692), Windows release (http://cran.r-project.org/bin/windows/base/rdevel.html), the line : options(width=55) in code chunk

Re: [Rd] Reference Classes: Accessing methods via [[...]], bug?

2011-05-01 Thread Martin Morgan
On 05/01/2011 03:09 PM, John Chambers wrote: Yes, as presented on that site it makes a little more sense: "While experimenting with the new reference classes in R I noticed some odd behaviour if you use the "[[ ]]" notation for methods (X[["doSomething"]] instead of X$doSomething). This notation

Re: [Rd] Reference Classes: Accessing methods via [[...]], bug?

2011-05-01 Thread John Chambers
Yes, as presented on that site it makes a little more sense: "While experimenting with the new reference classes in R I noticed some odd behaviour if you use the "[[ ]]" notation for methods (X[["doSomething"]] instead of X$doSomething). This notation works for fields, but I initially thought

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

2011-05-01 Thread cstrato
Dear Duncan, dear Uwe, Since I have installed both WinXP and OpenSUSE 11.3 on my Mac in a virtual machine, I have now done the following tests on all three architectures: 1, R CMD build xps: This creates "xps_1.13.1.tar.gz" which DOES contain all vignettes as pdf-file. Thus R CMD build is ok

Re: [Rd] Bug report: R 2.14.0dev Sweave option width does not work

2011-05-01 Thread Duncan Murdoch
On 30/04/11 7:25 PM, Alexander Favorov wrote: Hi! In R 2.14.0dev (R version 2.14.0 Under development (unstable) (2011-04-29 r55692), Windows release (http://cran.r-project.org/bin/windows/base/rdevel.html), the line : options(width=55) in code chunk of an Rnw file has no effect on sweave's out