[R] Error using Rd2dvi on OSX
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Jul 23 07:51:38 CEST 2007
Please use R-sig-mac for questions about MacOS X.
pdflatex is not in your path, if it is installed. As makeindex appears to
be in your path, I suspect that pdflatex is not installed.
R CMD Rd2dvi man
will use latex rather than pdflatex, and will help confirm this.
On Mon, 23 Jul 2007, Gattuso, Jean-Pierre wrote:
> Hi,
>
> I run R 2.5.1 on Mac OS 10.4.10 and fail to build a package manual.
> Below is the transcript. The problem is a "pdflatex: command not found"
> error but I think that I have a fully working latex install (installed
> with iInstaller) as I use TeXShop with no problem.
>
> Could someone help?
>
> Jean-Pierre
>
> -----------------------------------------------------------------------------
> gattuso@[~/Documents/experiments/seacarb_folder/seacarb]: R CMD Rd2dvi
> --pdf man
> Converting Rd files to LaTeX ...
> man/K1.Rd
> man/K1p.Rd
> man/K2.Rd
> man/K2p.Rd
> man/K3p.Rd
> man/Kb.Rd
> man/Kf.Rd
> man/Kh.Rd
> man/Ks.Rd
> man/Kspa.Rd
> man/Kspc.Rd
> man/Kw.Rd
> man/bor.Rd
> man/carb.Rd
> man/phinsi.Rd
> man/rho.Rd
> man/seacarb_test.Rd
> ENCS is
> Creating pdf output from LaTeX ...
> /Library/Frameworks/R.framework/Resources/bin/Rd2dvi: line 333:
> pdflatex: command not found
> lstat(./makeindex) failed ...
> ./makeindex: No such file or directory
> Couldn't find input index file Rd2 nor Rd2.idx.
> Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0
> idx1 ...]
> /Library/Frameworks/R.framework/Resources/bin/Rd2dvi: line 335:
> pdflatex: command not found
> /Library/Frameworks/R.framework/Resources/bin/Rd2dvi: line 337:
> pdflatex: command not found
> Saving output to 'Rd2.pdf' ...
> cp: .Rd2dvi28208/Rd2.pdf: No such file or directory
> Done
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
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
More information about the R-help
mailing list