Displaying 20 results from an estimated 5000 matches similar to: "Rename output file in Swaeve and Tex"
2013 Oct 23
1
Scripting call to R-Studio compile PDF
Hey everyone,
I have several RStudio (.rnw) files that I am using a script to assemble
into a composite document. For this purpose, it would be helpful if the
script could automatcially make a call to whatever is called when a user
opens up one of these files and manually clicks "Compile PDF". Basically,
this would allow me to refresh all of the reports before assimilating their
2009 Jan 13
6
basic sweave question
I am trying to learn the basics of Sweave so I read some things and a
friend gave me his Rnw file
to play with. I am able to do R CMD Sweave mark-example.Rnw. That works.
But,
then when I do latex mark-example.tex, I get the message below. I looked
in the archives
and Martin Morgan mentioned something in 2004 in terms of making sure
that latex is
looking at where Sweave.sty is but I am unsure
2017 Sep 07
3
post_processor in rmarkdown not working
Dear Duncan,
Thanks for chiming in. Could you explain how you set debug() on
post_processor()? I've tried adding debug(post_processor) to rsos_article()
or adding debug(post_processor) when after post_processor was defined in
the debugger. Neither work for me.
All supporting files are available within the package. The code below
should be reproducible on your machine.
2017 Sep 07
0
post_processor in rmarkdown not working
On 07/09/2017 10:11 AM, Thierry Onkelinx wrote:
> Dear Duncan,
>
> Thanks for chiming in. Could you explain how you set debug() on
> post_processor()? I've tried adding debug(post_processor) to
> rsos_article() or adding debug(post_processor) when after post_processor
> was defined in the debugger. Neither work for me.
Not working for me either right now for some reason
2017 Sep 07
2
post_processor in rmarkdown not working
On 07/09/2017 2:04 PM, Duncan Murdoch wrote:
> On 07/09/2017 10:11 AM, Thierry Onkelinx wrote:
>> Dear Duncan,
>>
>> Thanks for chiming in. Could you explain how you set debug() on
>> post_processor()? I've tried adding debug(post_processor) to
>> rsos_article() or adding debug(post_processor) when after post_processor
>> was defined in the debugger.
2017 Sep 07
0
post_processor in rmarkdown not working
On 06/09/2017 5:41 AM, Thierry Onkelinx wrote:
> Dear all,
>
> I'm trying to write a post_processor() for a custom rmarkdown format. The
> goal of the post_processor() is to modify the latex file before it is
> compiled. For some reason the post_processor() is not run. The
> post_processor() does work when I run it manually on the tex file.
>
> Any suggestions on what
2011 Oct 14
1
pgfSweave-example not compiling
I'm trying to get pgfSweave up and running. Hopefully I can get it
working from within LyX, but first I'm just trying to get the simplest
possible thing (compiling one of the example files in the pgfSweave
package) to work. I'm using the example that comes in the pgfSweave
package unmodified, but for reference I copied it to:
http://pastebin.com/tW4RL6fs
Configuration:
R version
2017 Sep 08
0
post_processor in rmarkdown not working
That is strange. Another function in the same package
(INBOmd::inbo_rapport) uses the same trick. I actually started by copying
the post_processor() from that function. INBOmd::inbo_rapport() works both
with and without BibTex. Working examples are source/inbo_rapport and
source/inbo_rapport_basic from https://github.com/inbo/inbomd_examples.
Note that you need some extra work after installing
2017 Sep 06
4
post_processor in rmarkdown not working
Dear all,
I'm trying to write a post_processor() for a custom rmarkdown format. The
goal of the post_processor() is to modify the latex file before it is
compiled. For some reason the post_processor() is not run. The
post_processor() does work when I run it manually on the tex file.
Any suggestions on what I'm doing wrong? Below is the relevant snippet of
the code. The full code is
2024 Mar 01
3
installation: while running make, unable to run pdflatex on 'NEWS.tex'
A kind member of R-core suggested this is due to a misconfiguration on
my system, and to post it to the mailing list for troubleshooting.
When trying to build R version 4.3.3, in at least two places during the
process it gives LaTeX errors of the form:
(example 1)
you should 'make docs' now ...
make[1]: Entering directory '/home/btyner/R-4.3.3/doc'
creating
2013 Feb 04
1
Error building R from SVN - unable to run 'pdflatex' on 'example-1.tex'
G'day,
I'm trying to build R using the code from SVN. I am able to successfully
build the source from here:
http://cran.r-project.org/src/base/R-2/R-2.15.2.tar.gz
However, when building the code checked out from SVN (either from 2.15.2
tag, or the trunk) I get the following error:
Error: running Sweave on vignette
2013 Jul 18
1
Looking for knitr example for beginner (NO RStudio)
Hi everyone,
I am using package knitr, FIRST TIME. I don't have access to RStudio.
Read through Yihui's page, didn't find it helpful. Stuck on terms
Rnw, GFM (GitHub Flavored Markdown). Never used Sweave, so the
reference is not helping.
Is there a simple step-by-step example WITHOUT RStudio?
My question:
What is the procedure? The documentation explains the functions, but
does
2009 Dec 17
2
Sweave Makefile issue
Dear R-specialists,
I am trying to create a Makefile that will first convert all my .Rnw
files into .tex files and then, that will run the LaTeX compiler to
produce a pdf document. This issue has been discussed before. Hence,
I've basically adapted a Makefile I found at
http://n4.nabble.com/R-Sweave-R-and-complex-latex-projects-td810020.html#a810023
to make it compatible with a Windows
2006 Oct 13
2
cygwin script for Sweave
below is a very simple bash script to run Sweave from a cygwin terminal, run pdflatex on
the generated .tex file, and then view the resulting .pdf output.
i usually use cygwin when i am (forced to be on) Windoze, but i found a few issues
with paths that this script works around.
pdfview, used in the script, is simply:
2009 Sep 08
1
makefile for sweave
Hello, I have the following makefile. The problem is that the bibliography
doesn t work. Any help would be appreciated! I really don t don t what to
do..:-(
# The sources of the report (tex, Rnw and other files (e.g. bib, idx))
TEX_CMPS = Report problem
RNW_CMPS = prop1 prop2 ExeExps
OTHER = Report.bib
# The name of the report to produce
all: Report.pdf
code: $(RNW_CMPS:=.R)
clean:
rm
2025 Jan 29
1
87668 fails on Windows 10 with "pdflatex not found"
The builder runs tools::texi2pdf() on the vignettes. Does that give the
same error for you? Do earlier revisions work?
Duncan Murdoch
On 2025-01-29 2:20 p.m., Avraham Adler wrote:
> I see there have been a number of tweaks to the document build
> recently (87650, 87654, 87658, 97660, 97661, etc.)
>
> I tried building 87668 today on Windows 10 and received the error
> below. Is
2012 Sep 20
2
Sweave - if \Sexpr{} than \SweaveInput{"my.Rnw"}
Depending on an R computation I would like to include an Sweave documents
in the main Sweave document.
How can I do it?
So I was thinking .... to use Latex features :
\newif\ifpaper
\ifpaper
\SweaveInput{"my1.Rnw"}
\else
\SweaveInput{"my2.Rnw"}
\fi
But how do I set paper to true or false given an \Sexpr ??
\papertrue % or
\paperfalse
Any ideas?
cheers
--
Witold
2008 Nov 29
3
including Sweave tangled code in '.Rnw' document
Hello List,
I have been using Sweave for my homework this last quarter and have been
very impressed at how much time and effort it saves me. I, however, have
run up against a problem which I have not been able to solve using any of
the Sweave/LaTeX tricks I know. I work through my homework one problem at a
time, typesetting equations and writing R code, etc. and occasionally use
2012 Jan 16
3
Using Sweave to generate multiple documents
Hello,
I tried looking for a Sweave-specific list but didn't find one, nor did I find an answer via google, so will send this question to the general R list. Please feel free to point me in the right direction.
I am using Sweave and would like to have a single .Rnw document that generates 1) a summary report, 2) a full report, 3) slides for a talk. I think my material lends itself to have
2008 May 21
4
Sweave / Latex per-chapter output
Dear R-help,
I am using Sweave and pdflatex to generate a large report from data
contained in my database (Postgres via RODBC). Currently, I work with
a single R/Sweave file, containing several "chapter" indications for
the Latex engine. My master tex file sets the document class, and
includes the introduction, the main Sweave file, and a conclusions and
reference file. I use a makefile