Hi Dan, Duncan and Yihui: I apologize for my late response.
Dan: Your backslash explanation was great but yes, I think there was a
transmission problem in the link I
sent. I made the changes and everything compiled without a glitch but the
actual tex file ends
up with many begin{Schunk} and
Hi Mark
I need pdfs for Sweave etc, my colleagues want wmfs or the ilk and
for publishing eps/tiff so I just add a section for each with in the
'print' chunk
Duncan
At 02:49 15/02/2013, you wrote:
Hi Dan, Duncan and Yihui: I apologize for my late response.
Dan: Your backslash
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Mark Leeds
Sent: Wednesday, February 13, 2013 2:59 PM
To: r-help@r-project.org
Subject: [R] sweave question
Hi Everyone: I was having trouble getting the plot size correct
-project.org
Subject: [R] sweave question
Hi Everyone: I was having trouble getting the plot size correct when
putting a plot in an sweave document. So, I searched on the internet
and I
found a clever solution where the person uses
the cat function to write latex code so he can include
, February 13, 2013 2:59 PM
To: r-help@r-project.org
Subject: [R] sweave question
Hi Everyone: I was having trouble getting the plot size correct when
putting a plot in an sweave document. So, I searched on the internet
and I
found a clever solution where the person uses
the cat function to write
: Wednesday, February 13, 2013 4:18 PM
To: Nordlund, Dan (DSHS/RDA)
Cc: r-help@r-project.org
Subject: Re: [R] sweave question
thanks dan. I'll try the double slash on both sides when I get back later
tonight. In the solution on
the net, he only had the backslash on the end quotes ( well
Other people in this thread have explained the rule of double
backslashes. I just want to add one more comment:
That clever solution was in 2009 when knitr has not come out, and I
have used this picture several times to show how much I dislike it:
Hello all,
Sometimes I get to make an R code chunk (in Sweave) which is longer then
the margins of the page. Is there a way to force it to go to the next
line (in Sweave) once that happens?
Here are two cases this happens in the resulting .tex file (one is a hard
case, and the other is simpler)
Do you have a practical case in which you have to print 114 a's
without spaces? I mean this is such an extreme case that is unlikely
to happen in real life. As long as you have spaces in your string, it
will be easy for LaTeX to wrap long lines, although LaTeX should be
able to do it even if the
Hi Yihui,
The a's case happens when, for example, one prints some long equation
function without using spaces in it. It happened to me in something I
wrote which I will write now while including spaces if I had known it would
solve the issue, but I have yet to have found one (for Sweave, that is
On 12-01-19 3:24 AM, Tal Galili wrote:
Hello all,
Sometimes I get to make an R code chunk (in Sweave) which is longer then
the margins of the page. Is there a way to force it to go to the next
line (in Sweave) once that happens?
Sweave normally uses a verbatim environment, so you have to
Duncan Murdoch-2 wrote:
See SweavePDF() in the patchDVI package on R-forge.
In case googling patchDVI only show a few Japanese Pages, and search for
patchDVI in R-Forge gives nothing: try
https://r-forge.r-project.org/projects/sweavesearch/
(or did I miss something obvious, Duncan?)
On 15/11/2010 6:22 AM, Dieter Menne wrote:
Duncan Murdoch-2 wrote:
See SweavePDF() in the patchDVI package on R-forge.
In case googling patchDVI only show a few Japanese Pages, and search for
patchDVI in R-Forge gives nothing: try
https://r-forge.r-project.org/projects/sweavesearch/
Thank you for all your comment. In result of own research I found this
method that seems to do what I want in addition to your suggestions:
tools::texi2dvi(myfile.tex, pdf=TRUE)
Thanks again,
Ralf
On Mon, Nov 15, 2010 at 6:42 AM, Duncan Murdoch
murdoch.dun...@gmail.com wrote:
On 15/11/2010
On 15/11/2010 12:38 PM, Ralf B wrote:
Thank you for all your comment. In result of own research I found this
method that seems to do what I want in addition to your suggestions:
tools::texi2dvi(myfile.tex, pdf=TRUE)
Sure, but this doesn't quite answer your original question: you can't
pass
On 13/11/2010 10:31 PM, Ralf B wrote:
Thank you. The article you cited explains on the last page how this is
done and shows how Sweave is run from within R and it says that it
creates the .tex file.
My last remaining question is now if there is a way to execute this
Sweave tex output by
It seems that Sweave is supposed to be used from Latex and R is called
during the LaTeX compilation process whenever R chunks appear. What
about the other way round? I would like to run it triggered by R. Is
this possible? I understand that this does not correspond to the idea
of literate
Ralf B ralf.bie...@gmail.com [Sat, Nov 13, 2010 at 10:03:49PM CET]:
It seems that Sweave is supposed to be used from Latex and R is called
during the LaTeX compilation process whenever R chunks appear.
This is not how it works.
In the first page of
Thank you. The article you cited explains on the last page how this is
done and shows how Sweave is run from within R and it says that it
creates the .tex file.
My last remaining question is now if there is a way to execute this
Sweave tex output by executing Latex from R. In other words, what is
On 28/04/2010 11:31 PM, Felipe Carrillo wrote:
Hi:
I am using Sweave and texi2dvi to generate a LaTeX document but
can't find the way to hide the graphics while the R chunks are being
executed. I thought results=hide would do it but that't not the case.
Sweave runs figure chunks multiple
Message
From: Duncan Murdoch murdoch.dun...@gmail.com
To: Felipe Carrillo mazatlanmex...@yahoo.com
Cc: r-h...@stat.math.ethz.ch
Sent: Thu, April 29, 2010 4:12:58 AM
Subject: Re: [R] Sweave question
On 28/04/2010 11:31 PM, Felipe Carrillo wrote:
Hi:
I am using
Sweave and texi2dvi
Hi:
I am using Sweave and texi2dvi to generate a LaTeX document but
can't find the way to hide the graphics while the R chunks are being
executed. I thought results=hide would do it but that't not the case.
If I do:
\begin{figure}[h]
figA=true,echo=F,fig=T,results=hide=
a rnorm(1000)
plot(a)
@
22 matches
Mail list logo