Displaying 20 results from an estimated 842 matches for "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 verbatim (label=diag)
8 : echo term verbatim (label=tukey)
9 : echo term verbatim (label=efficiency)
10 : e...
2008 Oct 23
4
odfWeave error
...nflating: settings.xml
inflating: META-INF/manifest.xml
Removing Report_2_draft.odt
Creating a Pictures directory
Pre-processing the contents
Sweaving content.Rnw
Writing to file content_1.xml
Processing code chunks ...
1 : term hide(label=loadData)
d 2 : term verbatim(label=SiteHist)
ate()
3 : term verbatim(label=AgeSex)
4 : term verbatim(label=Sitesex)
5 : term verbatim(label=SiteHeadNeck)
6 : term verbatim(label=SiteFace)
7 : term verbatim(label=SiteChest)
8 : term verbatim(label=SiteAbdomnen)
9 : term verbatim(label=SiteGCS_Eyes)...
2005 Jul 08
4
Sweave resource leak: leftover temp files (PR#7998)
...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")
Writing to file junk.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
You can now run LaTeX on 'junk.tex'
> list.files(tempdir())
[1] "Rf10523" "Rf13872" "Rf17129" &q...
2009 Feb 24
1
odfWeave problem "Error in xmlEventParse"
...aps/
inflating: layout-cache
inflating: content.xml
inflating: styles.xml
extracting: meta.xml
inflating: Thumbnails/thumbnail.png
inflating: settings.xml
inflating: META-INF/manifest.xml
Sweaving content.Rnw
Writing to file content_1.xml
Processing code chunks ...
1 : term verbatim(label=Init)
2 : term xml(label=IPTransSummary_SL)
3 : term xml(label=IPTransSummary_SP)
4 : term xml(label=IPTransSummary_SL_CY)
5 : term xml(label=IPTransSummary_SP_CY)
6 : term xml(label=IPTransSummary_SP_CY_SE)
7 : term xml(label=IPTransSummary_SL_IPL)
8 : term xml(la...
2014 Sep 23
0
[PATCH 03/13] syntax-check: fix makefile_at_at_check
...ndex 92e2c2d..c803d2c 100644
--- a/erlang/examples/Makefile.am
+++ b/erlang/examples/Makefile.am
@@ -35,8 +35,8 @@ stamp-guestfs-erlang.pod: guestfs-erlang.pod create_disk.erl inspect_vm.erl
--section 3 \
--man guestfs-erlang.3 \
--html $(top_builddir)/html/guestfs-erlang.3.html \
- --verbatim $(srcdir)/create_disk.erl:@EXAMPLE1@ \
- --verbatim $(srcdir)/inspect_vm.erl:@EXAMPLE2@ \
+ --verbatim $(srcdir)/create_disk.erl:$(EXAMPLE1) \
+ --verbatim $(srcdir)/inspect_vm.erl:$(EXAMPLE2) \
--license examples \
$<
touch $@
diff --git a/examples/Makefile.am b/examples/Makefil...
2005 Jul 08
2
Sweave resource leak: leftover temp files (PR#7999)
...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") Writing to file junk.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
You can now run LaTeX on 'junk.tex'
> list.files(tempdir())
[1] "Rf10523" "Rf13872" "Rf17129" &q...
2011 Oct 28
3
R CMD check and error in an \Sexpr in an Rd file
...lags 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
To reproduce, put a call like this in an Rd section:
\Sexpr[results=verbatim, stage=render]{x <- 1; stop("sexpr error")}
The strange thing is that it occurs at the example checking step.
Not sure why it does not break before.
Thank you.
Renaud
PS: I am on R version 2.13.2 (2011-09-30) - x86_64-pc-linux-gnu (64-bit)
--
Renaud Gaujoux
Computational Biology...
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:
==============================
[...]
7 : echo
8 : echo term verbatim (label=>)
Error in match.arg(options$results, c("verbatim", "tex",...
2003 Dec 09
3
latex problem with \preformatted (PR#5645)
...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 ignores everything following it on the line.
In an .Rd file I have:
\details{
This function provides a thin wrapper around the Unix "fork" system
call, which will create a new process which is an exact copy of the
[...]...
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
You can now run LaTeX on 'Sweave-test-1.tex'
> LaTeX()
Error: could not find function "LaTeX"
>
2008 Jul 27
2
Colors in Sweave
...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}}}
\DefineVerbatimEnvironment{Soutput}{Verbatim}{formatcom={\color{darkred}}}
\DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl,formatcom={\color{blue}}}
===
which works in the sense that colors do show up in the proce...
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?
...Here are my comments on these three:
- Using \texttt is OK, but it disappears my tildes and can hyphenate
- Using \verb is good, but it can hyphenate.
- Using \url is very good, but it:
* disappears my spaces; so for the above example, the spaces added for clarity are gone.
* Minor: I like my verbatim text a little smaller (\small size), and change the font size for verbatim using \def\verbatim at font{\small\ttfamily} but \url seems to ignore this and appears larger than if I used \text or \verb.
Also, using \url often adds line-breaks mid-variable at the dots (for example, splitting var.one...
2005 Jul 08
0
Sweave resource leak: leftover temp files
...t; > list.files(tempdir())
> character(0)
> > testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package =
> "utils") > Sweave(testfile, out="junk.tex") Writing to file junk.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
>
> You can now run LaTeX on 'junk.tex'
> > list.files(tempdir())
> [1] "Rf1052...
2010 Feb 12
1
Sweave
...(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 get:
> 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
You can now run LaTeX on 'Sweave-test-1.tex'
> tools::texi2dvi("Sweave-test-1.tex", pdf=TRUE)
texify: -interaction=nonstopmod...
2008 Jul 10
1
odfWeave problem in 7.1?
...cessing code chunks ...
Error in parse(text = cmd) : unexpected input in ""
>
Above case works fine under 2.6.2:
Sweaving content.Rnw
Writing to file content_1.xml
Processing code chunks ...
1 : term xml(label=MissingTable)
2 : term xml(label=UnusualTable)
3 : term verbatim(label=MembCounts)
4 : term verbatim(label=UsageCounts)
5 : term verbatim(label=SessionsCounts)
6 : term verbatim(label=SR_MembershipCounts)
7 : term verbatim(label=MiscCounts)
'content_1.xml' has been Sweaved
Removing content.xml
Post-processing the contents
Remov...
2008 Oct 16
1
package Utils Sweave Example Error
...bout 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
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
You can now run LaTeX on 'Sweave-test-1.tex'
> texi2dvi("Sweave-test-1.tex", pdf=TRUE) # Error here
C:/Documents and Setting...
2009 Feb 02
2
Sweave
...(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 varioCoo.tex
Processing code chunks ...
1 : echo term verbatim (label=read)
Loading required package: coda
...
.
.
You can now run LaTeX on 'varioCoo.tex'
Warning messages:
... don think this are important
> texi2dvi("varioCoo.tex", pdf=T)
Error in texi2dvi("varioCoo.tex", pdf = T) :
Running 'texi2dvi' on 'varioCoo...
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 looking for is the basic equivalent of 'everything in verbatim'
plus the ability to hightlight certain parts to stress the...
2006 Oct 08
2
'weaver' package problem
...tem.file("Sweave", "Sweave-test-1.Rnw", package =
"utils")
>
> ## enforce par(ask=FALSE)
> options(par.ask.default=FALSE)
>
> ## create a LaTeX file
> 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
You can now run LaTeX on 'Sweave-test-1.tex'
******************testing weaver******************
> weaver(testfile)
Error in weaver(testfile...