search for: sweavepdf

Displaying 4 results from an estimated 4 matches for "sweavepdf".

Did you mean: sweaved
2012 Aug 16
0
How to call patchDVI::SweavePDF on an .Rnw which is not the master file?
Dear expeRts, I have a master file master.tex containing the preamble and which inputs (via \input{chapter01}, \input{chapter02}, ...) chapters. The chapters are .Rnw files. My goal is to use patchDVI::SweavePDF to compile the chapters (say, chapter.Rnw) individually (each chapter starts with sourcing Sweave preliminary settings). The first problem is the following. If I execute (in the shell) ,---- | Rscript -e "patchDVI::SweavePDF('chapter.Rnw')" `---- I obtain ,---- | Loading requi...
2012 Aug 21
1
patchDVI: how to pass encoding of the .Rnw file?
...hat file needs to be processed by Sweave, then the usual encoding detection method (looking for \usepackage[utf8]{inputenc} or similar) won't work, because you can't put that line in the secondary file. The solution is the same as when using Sweave: put a default encoding into the call to SweavePDF (or the similar functions). For example, my editor always executes this command when asked to process a .Rnw file: patchDVI::SweavePDF('%2', stylepath=FALSE, preview="f:/SumatraPDF/SumatraPDF \x25s", encoding="utf8") The %2 is a place holder for the filename...
2011 Mar 26
1
Sweave and Textwrangler
Hi, I am trying to get TextWrangler to work with LaTeX and Sweave. Ideally I would call a script from TextWrangler that would run Sweave on a document, then LaTeX (using SyncTeX), and finally open the corresponding pdf in Skim. Of course I don't always need to run Sweave and would be looking for the option of LaTeX -> Open. I found this http://www.xs4all.nl/~msneep/latex/ but it
2010 Nov 11
4
Troubleshooting sweave
Hi All, I've reproduced the example from Prof. Friedrich Leisch's webpage. When I write sweave("Example-1.Snw") OR sweave("Example-1.Rnw"), (yes, I renamed them). I get the following error: Writing to file example-1.tex Processing code chunks ... 1 : echo term verbatim Error: chunk 1 Error in library(ctest) : there is no package called 'ctest' Also while