[R-SIG-Mac] latex: command not found

cstrato cstrato at aon.at
Wed Jul 18 23:39:32 CEST 2007


Dear Simon

Thank you, too! Sorry, my stupid mistake, and I realized too late that I 
could have typed "latex".

With one package now everything works fine.

In contrast, with my other package I get an error. Looking at the 
log-file I see that
latex does not understand the command:
  \url{http://nnn.com}

Interestingly, the identical Snw-file runs fine on FC4.
Do I have to define \url{} in the Snw-file on the Mac?

Moreover, I get the following output:
--- running texi2dvi on vignettes
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 
tcrm1000
mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; 
nonstopmode; input tcrm1000
This is METAFONT, Version 2.71828 (Web2C 7.5.6)
(/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/tcrm1000.mf
(/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/exbase.mf)
(/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/tcrm.mf
(/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/txsymb.mf
 Ok (/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/exaccess.mf
 Ok) (/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/txpseudo.mf
 Ok) (/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/txaccent.mf
 Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [27] [29])
(/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/txgen.mf
 Ok [100] [109] [98] [99] [108])
(/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/txsymbol.mf
 Ok [13] [18] [21] [22] [23] [24] [25] [26] [28] [31] [32] [36] [39] [44]
[45] [46] [42] [47] [60] [61] [62] [77] [79] [87] [110] [91] [93] [94] [95]
[96] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137]
[138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149]
[150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161]
[162] [163] [164] [165] [166] [167] [168] [169] [171] [172] [173] [174]
[175] [177] [176] [180] [181] [182] [183] [184] [187] [191] [214] [246])
(/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/txromod.mf
 Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57])
(/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/txrsuper.mf
 Ok [185] [178] [179] [170] [186])
(/usr/local/gwTeX/texmf.texlive/fonts/source/jknappen/ec/txrfract.mf
 Ok [188] [189] [190]) ) ) )
(some charht values had to be adjusted by as much as 0.06943pt)
Font metrics written on tcrm1000.tfm.
Output written on tcrm1000.600gf (128 characters, 23728 bytes).
Transcript written on tcrm1000.log.
mktexpk: /var/tmp/texfonts/pk/ljfour/jknappen/ec/tcrm1000.600pk: 
successfully generated.
/Library/Frameworks/R.framework/Resources/bin/texi2dvi: pdflatex exited 
with bad status, quitting.
/Library/Frameworks/R.framework/Resources/bin/texi2dvi: see xps.log for 
errors.
Error in texi2dvi(file = bft, pdf = TRUE, clean = FALSE, quiet = TRUE) :

Do you know what this output means?

Thank you
Christian


Simon Urbanek wrote:
>
> On Jul 18, 2007, at 4:59 PM, cstrato wrote:
>
>> Dear all
>>
>> When running "R CMD check" on my Intel-Mac, I get always the line:
>> * checking for working latex ...sh: line 1: latex: command not found
>>
>> So I downloaded the i-Installer II and installed gwTeX as administrator.
>>
>> As user I put the directory  /usr/texbin  in ".bashrc":
>> export PATH=usr/texbin:$PATH
>>
>
> You didn't - you have put "usr/texbin" there which doesn't help ...
>
>> When I do "echo $PATH" I get:
>> /Volumes/CoreData/ROOT/root/bin:usr/texbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin 
>>
>>
>> So the correct path to "tex", "latex" and "texi2dvi" is now included.
>>
>
> Why don't you just test it with "latex"? You don't need to run make 
> check to test that ;)
>
> Cheers,
> Simon



More information about the R-SIG-Mac mailing list