Re: [Rd] Rd2dvi pagination of index in pdf manual

2010-04-28 Thread Prof Brian Ripley
On Thu, 29 Apr 2010, Murray Efford wrote: Peter's solution works perfectly. Thanks. Maybe this should be standard. It is for now, but the intention is to use the more general solution of texi2dvi. Murray From: peter dalgaard [pda...@gmail.com] Sen

[Rd] bug in cut.POSIXt(..., breaks = ) and cut.Date

2010-04-28 Thread Felix Andrews
x <- seq(as.POSIXct("2000-01-01"), by = "days", length = 20) cut(x, breaks = 3) # Error in `levels<-.factor`(`*tmp*`, value = character(0)) : # number of levels differs cut(as.Date(x), breaks = 3) # Error in `levels<-.factor`(`*tmp*`, value = character(0)) : # number of levels differs Inde

Re: [Rd] Rd2dvi pagination of index in pdf manual

2010-04-28 Thread Murray Efford
Peter's solution works perfectly. Thanks. Maybe this should be standard. Murray From: peter dalgaard [pda...@gmail.com] Sent: Thursday, 29 April 2010 1:06 a.m. To: Prof Brian Ripley Cc: Murray Efford; r-devel@r-project.org Subject: Re: [Rd] Rd2dvi paginatio

Re: [Rd] Rd2dvi pagination of index in pdf manual

2010-04-28 Thread Prof Brian Ripley
Yes, I'm sorry I told you how vignettes are made. It was/is the intention to use the same mechanism for package manuals, but it seems we did not get there when this was worked on last summer. On Wed, 28 Apr 2010, peter dalgaard wrote: On Apr 28, 2010, at 2:29 PM, Prof Brian Ripley wrote:

Re: [Rd] Rd2dvi pagination of index in pdf manual

2010-04-28 Thread peter dalgaard
On Apr 28, 2010, at 2:29 PM, Prof Brian Ripley wrote: > Hmm, the construction of the PDF is done by pdlatex/hyperref, not by R. What > latex setup is this, and (guessing it is some version of MiKTeX) does it have > a texi2dvi.exe? If so, the conversion from our .tex file to PDF is managed >

Re: [Rd] Rd2dvi pagination of index in pdf manual

2010-04-28 Thread Murray Efford
Many thanks. I'm using MiKTeX 2.8 which has texi2dvi.exe. I'll follow up on this when I can track down the tex file in the morning. Murray From: Prof Brian Ripley [rip...@stats.ox.ac.uk] Sent: Thursday, 29 April 2010 12:29 a.m. To: Murray Efford Cc: r-deve

Re: [Rd] Rd2dvi pagination of index in pdf manual

2010-04-28 Thread Prof Brian Ripley
Hmm, the construction of the PDF is done by pdlatex/hyperref, not by R. What latex setup is this, and (guessing it is some version of MiKTeX) does it have a texi2dvi.exe? If so, the conversion from our .tex file to PDF is managed entirely by texi2dvi.exe, and my guess is that it has done too

[Rd] Rd2dvi pagination of index in pdf manual

2010-04-28 Thread Murray Efford
I construct a pdf package manual in Windows 7 using R CMD Rd2dvi --pdf --no-preview [packagename] Page numbers are listed correctly under 'R topics documented' at the front, but incorrectly (offset by -2 pages) in the Index at the back. Following the hyperlinked page numbers in the Index takes yo

Re: [Rd] Should mcnemar.test use as.factor instead of factor

2010-04-28 Thread Prof Brian Ripley
On Tue, 27 Apr 2010, Greg Snow wrote: I am working with the mcnemar.test function and the help does not show a maintainer/author, but it is part of the stats package. My issue is that I want to use the test on 2 variables with possible values of 0:3, in one of the tests one of the variables d

Re: [Rd] Unable to compile crc32_x86.S on windows (R-2.10.1).

2010-04-28 Thread Prof Brian Ripley
On Tue, 27 Apr 2010, Vaish Anjur wrote: Thank you for any pointers. Learn what .S means? For some reason you tried to compile .s*, and although that happens to match on your benighted OS, .s and .S are not the same. I have no idea why you are asking here. That file is not part of R and