search for: verbatims

Displaying 20 results from an estimated 838 matches for "verbatims".

Did you mean: verbatim
2008 Mar 30
1
Second & subsequent calls to function fails. Please help debug.
Dear R-helpers, I'm running Sweave() on a file. First run: > Sweave('20080331.Rnw') Writing to file 20080331.tex Processing code chunks ... 1 : term hide (label=setup) 2 : echo term verbatim (label=oatvar) 3 : echo term verbatim (label=oatvar1) 4 : echo term verbatim (label=oat2wt) 5 : echo term verbatim (label=oat2wt) 6 : echo term verbatim (label=lm) 7 : echo term
2008 Oct 23
4
odfWeave error
odfWeave is throwing up a cryptic error, after successfully processing a file with a large number of figures (~30) and many \Sexpr{} calls. The error is (at least to me) cryptic. I am not sure where to look to correct this problem. Here's the error: Post-processing the contents Error in .Call("RS_XML_Parse", file, handlers, endElementHandlers, as.logical(addContext), :
2005 Jul 08
4
Sweave resource leak: leftover temp files (PR#7998)
Harold, I've taken a closer look at your example and I'd call this an Sweave bug. It creates tempfiles each time you run it, and doesn't delete them at the end. For example: > list.files(tempdir()) character(0) > testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils") > Sweave(testfile, out="junk.tex")
2009 Feb 24
1
odfWeave problem "Error in xmlEventParse"
Dear list, Sorry for bothering you with a pure odfSweave question, but I just ran into a problem that I cannot find the cause of. Anyonse seen this before? This file "used to work", but not anymore. Would apreciate all the help I could get. /Fredrik --------------------------------------------------------------- >
2014 Sep 23
0
[PATCH 03/13] syntax-check: fix makefile_at_at_check
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> --- align/Makefile.am | 2 +- builder/Makefile.am | 2 +- builder/website/Makefile.am | 2 +- cat/Makefile.am | 4 ++-- common-rules.mk | 8 ++++---- customize/Makefile.am | 2 +- df/Makefile.am | 4 ++-- diff/Makefile.am | 2 +-
2005 Jul 08
2
Sweave resource leak: leftover temp files (PR#7999)
This is great. Thank you for your help, but let me make sure I fully understand. Here is the looping file I use to subset the data frame, create a tex file, and Sweave it. This results in N number of tex files where N is equal to the number of rows in the data frame. list <- unique(wide$stuid) master = "master.tex" for (i in list){ tmp1 <- subset(wide, stuid==i) tmp2
2011 Oct 28
3
R CMD check and error in an \Sexpr in an Rd file
Hi, another Rd related issue I encountered is that if an error occurs in an \Sexpr in an Rd file, then on get the following error: * checking for portable compilation flags in Makevars ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking examples ... ERROR Error in paste(before, x, after, sep = "") : object 'exfile' not found Execution halted
2008 Dec 14
2
Sweave/Rweave and results="verbatim"
Hello, in a Rnw-file I have this used stuff to try out tex-results... ============================== <<>>>= texme <- function() cat( "{\\bf Hallo, das ist voll fett!}\n" ) @ <<results="verbatim">>= texme() @ ============================== I used this command: "R CMD Sweave example.Rnw" and got this error:
2003 Dec 09
3
latex problem with \preformatted (PR#5645)
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C3BE9C.3FB5BC1A Content-Type: text/plain; charset="iso-8859-1" There is a small bug in the implementation of \preformatted in R 1.8.0: The closing "\end{verbatim}" needs to be followed by a newline, since my latex
2006 Nov 23
2
Sweave question
I try Sweave and get Sweave-test-1.tex but hot to run LaTeX on 'Sweave-test-1.tex'? I am using WinEdt. thanks, Aimin > Sweave(testfile) Writing to file Sweave-test-1.tex Processing code chunks ... 1 : print term verbatim 2 : term hide 3 : echo print term verbatim 4 : term verbatim 5 : echo term verbatim 6 : echo term verbatim eps pdf 7 : echo term verbatim eps pdf
2008 Jul 27
2
Colors in Sweave
Hi list, I was using Sweave and was wondering if anyone has had any luck changing the font colors of the code chunks. For instance, in my .Rnw preample I tried including: === \usepackage[usenames]{colors} \definecolor{darkred}{rgb}{0.545,0,0} \definecolor{midnightblue}{rgb}{0.098,0.098,0.439} \DefineVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl,formatcom={\color{midnightblue}}}
2003 Jul 15
2
How to do get verbatim in Rd files
I want to include a multi-line code block in the details section of a R manual page. How do I get an appropriate verbatim-like environment? \verbatim{...} doesn't do the trick, neither does \code{...}. -Greg LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}
2009 Jan 28
2
OT: Adding verbatim R code text into LaTeX documents: texttt; verb or url?
Hi all I use Sweave extensively to mix R and LaTeX, and often have R code appearing in my LaTeX document. Just a quick question then: What is the best way to add example of R commands into LaTeX in-line? (That is, not using Sweave.) For example, suppose I wish to place in my document this instruction: ...is done in R using the command \verb|lm( y ~ var.one + var.two )| as follows: I
2005 Jul 08
0
Sweave resource leak: leftover temp files
On 7/8/2005 9:36 AM, Doran, Harold wrote: > This is great. Thank you for your help, but let me make sure I fully > understand. Here is the looping file I use to subset the data frame, > create a tex file, and Sweave it. This results in N number of tex files > where N is equal to the number of rows in the data frame. > > list <- unique(wide$stuid) > master =
2010 Feb 12
1
Sweave
Hello, I am trying to start using Sweave. I copy the example from help Sweave testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils") ## enforce par(ask=FALSE) options(device.ask.default=FALSE) ## create a LaTeX file Sweave(testfile) ## This can be compiled to PDF by tools::texi2dvi("Sweave-test-1.tex", pdf=TRUE) and I
2008 Jul 10
1
odfWeave problem in 7.1?
Max & Friends, I've run into a problem with odfWeave 0.7.5 running under R 2.7.1 (Windows XP, SP2) doing some monthly production reports. Under 2.7.1 I'm getting various parsing errors after Sweaving starts, e.g.: Sweaving content.Rnw Writing to file content_1.xml Processing code chunks ... Error in parse(text = cmd) : unexpected input in "" > Above case works
2008 Oct 16
1
package Utils Sweave Example Error
Hi: I'm still trying to figure out how use Sweave. Trying the example below I get the error message when texi2dvi is executed. Any ideas about how to make texi2dvi work? library(tools) > testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils") > options(device.ask.default=FALSE) > Sweave(testfile) Writing to file Sweave-test-1.tex
2009 Feb 02
2
Sweave
I'm trying to (re)learn Sweave and run into some problems. I use now ubuntu (8.10), emacs + ess. Slowly getting upto speed on ess. I have a complete (hopefully) .Rnw file, but the resulting .tex will not compile. The file does not contain anything exotic, but it produces pdf figures, and that is where the problems come: library(tools) > Sweave("varioCoo.Rnw") Writing to file
2008 Apr 06
3
[OT] Typesetting / highlighting R code in Latex
Using Latex and the beamer class, I would like to highlight code snippets. Does anybody know a suitable 'preprocessor' or 'filter' for R (and/or C/C++) code ? I have been including it in simple \begin{verbatim} ... \end{verbatim} and I know there is a better way -- in fact I saw it used a while back in some package I looked at. And I didn't write that down... What I am
2006 Oct 08
2
'weaver' package problem
Hi Seth, The possibility of caching computations would be a great boon when one is iteratively refining a paper; so I'm most grateful for your work on this. Unfortunately I have a problem to report: ******************installing****************** > source("http://bioconductor.org/biocLite.R") > biocLite("weaver") Running getBioC version 0.1.8 with R version