On 12/7/2010 9:35 PM, Yihui Xie wrote:
shell(paste("yap", "C:/WINDOWS/TEMP/Rtmpz0QkT8/file311f289a.dvi"))
I can confirm that using shell() directly on the .dvi file generated by
latex() works, while system() does not -- it hangs
as before.
However, Yihui's patch, in this form still hangs, so m
I guess I know the answer but I am not completely clear about the
reason; print.latex() calls show.dvi() to open the DVI file using
system(), and under Windows it is usually better using shell() instead
of system(). The help page says shell() is a "friendly" wrapper of
system() under Windows, and t
Hi:
I've experienced the same behavior as Dr. Friendly when trying to use
latex() in an Sweave code chunk (with results = tex in the chunk header) on
a Win7 system with 64-bit R (everything up to date). Is the answer the same
in that case?
TIA for your assistance,
Dennis
On Tue, Dec 7, 2010 at 9
Michael,
The easiest workaround is to assign the result of the latex() command.
myfilename <- latex(x)
print.default(myfilename)
It looks to me like the insides of the dvi.latex function aren't quite right
for Windows.
Rich
[[alternative HTML version deleted]]
___
[Env: R 2.11.1, Win Xp, Miktex 2.7]
I've just started using Hmisc::latex and friends, and find that running
latex() produces the .tex and .dvi files, but hangs,
presumably trying to run yap. An example is below. What could be wrong?
My PATH seems OK:
> strsplit(Sys.getenv("path"),';')
$path
5 matches
Mail list logo