Dear Rxperts,
Apologize for posting it to a wrong thread..Hence, the re-post...

I am trying to use pdflatex from Hmisc, I get the error message. "pdflatex
is not available"... The version of Hmisc is the latest one (got the
warning that it was compiled under R version 2.15.3) .

The version of R on my machine is
> version

platform       i386-w64-mingw32
arch           i386
os             mingw32
system         i386, mingw32
 status
major          2
minor          15.2
year           2012
month          10
day            26
svn rev        61015
language       R
version.string R version 2.15.2 (2012-10-26)
 nickname       Trick or Treat
>

Is it not available anymore? I created a latex file using "tables" package
and am unable to create the pdf file using pdflatex ... I am also not able
to use Sweave with the above version of R as it is not available.

I also tried texi2dvi (from tools); and it says "latex is not available".
But,  I was earlier able to use "latex" with tabular to generate a "tex"
file. I am confused with such conflicting messages.

Also.. when I tried to use latex again,
 latex(summ2,title=outfile,file="a1.tex") # summ2 is a "tabular" output
using "tables" package
'latex' is not recognized as an internal or external command,
operable program or batch file.
Error in system(cmd, intern = TRUE, wait = TRUE) : 'yap' not found
In addition: Warning messages:
1: running command 'C:\Windows\system32\cmd.exe /c cd
"C:\Users\santosh\AppData\Local\Temp\RtmpsZ3tP9" & latex
-interaction=scrollmode
"C:\Users\santosh\AppData\Local\Temp\RtmpsZ3tP9\file13207cb8d2c"' had
status 1
2: In shell(cmd, wait = TRUE, intern = output) :
  'cd "C:\Users\santosh\AppData\Local\Temp\RtmpsZ3tP9" & latex
-interaction=scrollmode
"C:\Users\santosh\AppData\Local\Temp\RtmpsZ3tP9\file13207cb8d2c"' execution
failed with error code 1


Any suggestions welcome!
Thanks,
Santosh

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to