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
= )
%
\begin{table}[!tbp]
\begin{center}
\begin{tabular}{lrrr}\hline\hline
\multicolumn{1}{l}{x}\multicolumn{1}{c}{c}\multicolumn{1}{c}{d}\multicolumn{1}{c}{this
that}\tabularnewline
\hline
a$1$$3$$5$\tabularnewline
b$2$$4$$6$\tabularnewline
\hline
\end{tabular}
\end{center}
\end{table}
cd(c:/r
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]]
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
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
Dear R´ers
I´m trying to get a summary table using latex and summary in the rms package
to no avail. I´m running R 2.10.1, Mac OS X snow leopard and I have the mactex
2009 distribution installed. Any obvious things I´m missing?
//M
options(digits=3)
set.seed(173)
sex -
moleps wrote:
Dear R´ers
I´m trying to get a summary table using latex and summary in the rms
package to no avail. I´m running R 2.10.1, Mac OS X snow leopard and
I have the mactex 2009 distribution installed. Any obvious things I´m
missing?
file587f83cb.log. sh: xdvi: command not found
moleps wrote:
xdvi is installed in the same location as yours. I even did a
reinstallment of mactex. Still doesnt work. But since I´m now
convinced its related to my latex distribution I´ll take the problem
elsewhere..
And the directory that xdvi is located in is in your path?
moleps wrote:
Dear R´ers
I´m trying to get a summary table using latex and summary in the rms package
to no avail. I´m running R 2.10.1, Mac OS X snow leopard and I have the mactex
2009 distribution installed. Any obvious things I´m missing?
//M
options(digits=3)
set.seed(173)
sex -
moleps mole...@gmail.com writes:
Apparently you don't have xdvi installed on your system.
HTH
Georg
Dear R´ers
I´m trying to get a summary table using latex and summary in the rms package
to no avail. I´m running R 2.10.1, Mac OS X snow leopard and I have the
mactex 2009 distribution
xdvi is installed in the same location as yours. I even did a reinstallment of
mactex. Still doesnt work. But since I´m now convinced its related to my latex
distribution I´ll take the problem elsewhere..
Regards,
//M
On 16. juni 2010, at 17.19, Prof Brian Ripley wrote:
On Wed, 16 Jun
Dear all,
After spending all day and most of the night on this I did a new R-installation
and it works. The question now is - upon running this code (from the Hmisc
library-latex function) I believe the call to summary.formula is allright, but
the latex command results in a totally different
Hello Thomas (and all),
Zitat von Thomas Petzoldt [EMAIL PROTECTED]:
Oliver Bandel wrote:
Hello,
at some places I read about good interaction of
LaTeX and R.
Can you give me a starting point, where I can find
information about it?
Are there special LaTeX-packages
Oliver Bandel wrote:
Hello,
at some places I read about good interaction of
LaTeX and R.
Can you give me a starting point, where I can find
information about it?
Are there special LaTeX-packages for the support,
or does R have packages for support of LaTeX?
Or will an external Code-Generator
On Wed, Nov 26, 2008 at 08:50:33AM +0100, Oliver Bandel wrote:
at some places I read about good interaction of
LaTeX and R.
Can you give me a starting point, where I can find
information about it?
Have a look at these:
Sweave()
xtable()(xtable)
latex() (Hmisc)
cu
Hello,
at some places I read about good interaction of
LaTeX and R.
Can you give me a starting point, where I can find
information about it?
Are there special LaTeX-packages for the support,
or does R have packages for support of LaTeX?
Or will an external Code-Generator be used?
TIA
Dear Rers,
I understand that I can include R-code in LaTeX using Sweave. Is there a way
to do it the other way round? Particularly, I need some TeX symbols in the
legend of an R-plot. This can be done in matlab easily, so I am optimistic
with R. Any suggestions for a command or package?
Best
Mario Maiworm wrote:
Dear Rers,
I understand that I can include R-code in LaTeX using Sweave. Is there a way
to do it the other way round? Particularly, I need some TeX symbols in the
legend of an R-plot. This can be done in matlab easily, so I am optimistic
with R. Any suggestions
://cinacs.org
__
-Ursprüngliche Nachricht-
Von: Uwe Ligges [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 7. März 2008 15:27
An: Mario Maiworm
Cc: r-help@r-project.org
Betreff: Re: [R] LaTeX in R
Mario Maiworm wrote:
Dear
]
Gesendet: Freitag, 7. März 2008 16:30
An: Mario Maiworm
Cc: r-help@r-project.org
Betreff: Re: AW: [R] LaTeX in R
Mario Maiworm wrote:
Thank you, uwe and jeremy. I was actually looking exactly for that!
But
something still doesn't work:
I want to plot a symbol in a legend of a plot, lets
__
-Ursprüngliche Nachricht-
Von: Uwe Ligges [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 7. März 2008 16:30
An: Mario Maiworm
Cc: r-help@r-project.org
Betreff: Re: AW: [R] LaTeX in R
Mario Maiworm wrote:
Thank you, uwe and jeremy. I was actually looking exactly
[mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 7. März 2008 17:22
An: Uwe Ligges
Cc: Mario Maiworm; r-help@r-project.org
Betreff: Re: [R] LaTeX in R
Or my personal favorite if the length of mySigma is variable:
mySigma - 2:3
plot(1:10, dnorm(1:10, sd = mySigma[1]), type = 'l')
lines(dnorm(1:10
22 matches
Mail list logo