[R] Error using Rd2dvi on OSX

Gattuso, Jean-Pierre gattuso2 at obs-vlfr.fr
Mon Jul 23 07:41:30 CEST 2007


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



More information about the R-help mailing list