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
If you're using Debian, ubuntu or any other Debian-based Linux distribution, run sudo apt-get install texinfo <http://packages.ubuntu.com/maverick/texinfo> On Thu, Feb 17, 2011 at 12:07 PM, Terry Therneau <therneau@mayo.edu> 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@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Gong-Yi Liao Department of Statistics University of Connecticut 215 Glenbrook Road U4120 Storrs, CT 06269-4120 860-486-9478 [[alternative HTML version deleted]]
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