From ripley at stats.ox.ac.uk  Thu Feb 17 19:04:42 2011
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 17 Feb 2011 18:04:42 +0000 (GMT)
Subject: [Rd] Rd2pdf error in R12.0
In-Reply-To: <1297962423.14309.26.camel@punchbuggy>
References: <1297962423.14309.26.camel@punchbuggy>
Message-ID: <alpine.LFD.2.02.1102171752350.17745@gannet.stats.ox.ac.uk>

I think you are decades in the future.  We are on R 2.12.x in 2011.

It seems that you don't have texi2dvi installed.  Either install it 
(it may part of the TeX or texinfo distributions)  or set 
options(texi2dvi='') (see ?tools::texi2dvi and ?EnvVar).  'Tis also 
discussed in the R-admin manual.

The problem here (and what changed from 2.11.x) is that people build R 
on one machine and run on another with different software installed, 
so the defaults were changed to look on the path.  R 2.12.0 is not 
current, and 2.12.2 beta has an even more robust search mechanism.

On Thu, 17 Feb 2011, Terry Therneau wrote:

> On the local machine the command R11 CMD Rd2pdf survfit.Rd works fine.
>   R12 CMD Rd2pdf survfit.Rd fails with the message below.
>
> Converting Rd files to LaTeX ...
>  survfit.Rd
> Creating pdf output from LaTeX ...
> Error in texi2dvi("Rd2.tex", pdf = (out_ext == "pdf"), quiet =
> FALSE,  :
>  Running 'texi2dvi' on 'Rd2.tex' failed.
> Messages:
> sh: texi2dvi: command not found
> Output:
>
> Error in running tools::texi2dvi
>
> ---------------
> Here is the header when invoking the newer version:
>
> R version 2.12.0 (2010-10-15)
> Copyright (C) 2010 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> The R11 call is 2.11.0, same machine, same login session.
>
>
> I've looked in the manuals and didn't see anything specific about
> version 12.  Our system administrator will want some hints about what to
> do to fix this, ere I complain.  I discovered it running CMD check on a
> package update.
>
> Any pointers?
>
> Terry Therneau
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Rd2pdf error in R12.0
Prof Brian Ripley