search for: chunkopts

Displaying 8 results from an estimated 8 matches for "chunkopts".

2011 Apr 16
1
Sweave, SweaveHooks and printing the label
I would like to print the label of each code chunk, just before printing the code chunk itself. Is that possible using SweaveHooks, or by some other mechanism? Thanks David -- View this message in context: http://r.789695.n4.nabble.com/Sweave-SweaveHooks-and-printing-the-label-tp3453829p3453829.html Sent from the R help mailing list archive at Nabble.com.
2010 Jul 26
2
Trouble using grid.layout in Sweave
...print(pl$gscoreDist, vp=vlay(1,1)) print(pl$acceptDist, vp=vlay(2,1)) dev.off() @ The error is the following from Sweave: Error in grid.newpage() : Non-finite location and/or size for viewport In addition: There were 24 warnings (use warnings() to see them) Error in driver$runcode(drobj, chunk, chunkopts) : Error in grid.newpage() : Non-finite location and/or size for viewport Calls: Sweave -> <Anonymous> Execution halted Any hints? Of course, I can always wrap the code into a fig=FALSE, and pdf()-call, but that is not how sweave is meant to be used, as I got it. Many thanks in advanc...
2003 Apr 02
2
pacf.mts
I am getting the following: *** Weave Errors *** Error in driver$runcode(drobj, chunk, chunkopts) : Error in eval(expr, envir, enclos) : couldn't find function "pacf.mts" *** Source Errors *** Error in eval(expr, envir, enclos) : couldn't find function "pacf.mts" make[1]: *** [checkVignettes] Error 1 I don't really understand the new namespace mechani...
2010 Nov 29
1
Sweave choking on \\ in filename
...eelnemerslijst.tex Processing code chunks ... 1 : echo term verbatim Error: chunk 1 Error : '\B' is an unrecognized escape in character string starting "Q:\B" > traceback() 4: stop(msg, err, call. = FALSE) 3: RweaveTryStop(chunkexps, options) 2: driver$runcode(drobj, chunk, chunkopts) 1: Sweave("Q:\\BMK\\cursussen\\interne_opleiding\\deelnemerslijst.Rnw", syntax = "SweaveSyntaxNoweb") > sessionInfo() R version 2.12.0 (2010-10-15) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=Dutch_Belgium.1252 LC_CTYPE=Dutch_Belgium.1252 [3]...
2003 Apr 09
1
'Apparently' trouble with name spaces and Sweave...
..., road, rock, rotifer, Rubber, ships, shoes, shrimp, shuttle, Sitka, Sitka89, Skye, snails, SP500, steam, stormer, survey, synth.te, synth.tr, topo, Traffic, UScereal, UScrime, VA, waders, whiteside, wtloss Error in library(MASS) : package/namespace load failed Error in driver$runcode(drobj, chunk, chunkopts) : Error in library(MASS) : package/namespace load failed Error in buildVignettes(dir = ".") : Error in driver$runcode(drobj, chunk, chunkopts) : Error in library(MASS) : package/namespace load failed Execution halted ----- End forwarded message ----- -- ----------...
2004 Oct 19
2
Sweave and Trellis in R 2.0.0patched (Windows)
...gt; Sweave("M:\\Engineering\\Shawn\\BMF\\MECO\\Clean Steam\\32-04.rnw") Writing to file 32-04.tex Processing code chunks ... 1 : term hide eps pdf Error in "[<-"(`*tmp*`, pos.heights[[nm]], value = numeric(0)) : nothing to replace with Error in driver$runcode(drobj, chunk, chunkopts) : Error in "[<-"(`*tmp*`, pos.heights[[nm]], value = numeric(0)) : nothing to replace with > Data.plot has the following structure: > str(data.plot) `data.frame': 436 obs. of 13 variables: $ DateTime Sampled:`POSIXct', format: chr "2003-06-02 00:00:00" &...
2007 Jun 28
4
Sweave bug? when writing figures / deleting variable in chunk
...x Processing code chunks ... 1 : echo term verbatim 2 : echo term verbatim pdf Error: no function to return from, jumping to top level Error in plot(trees[sel, ]) : error in evaluating the argument 'x' in selecting a method for function 'plot' Error in driver$runcode(drobj, chunk, chunkopts) : Error in plot(trees[sel, ]) : error in evaluating the argument 'x' in selecting a method for function 'plot' The generated .tex is complete up through the rm() but no figure is generated. The file bug2-002.pdf is incomplete (corrupt). ... \begin{Schunk} \begin{Sinput} &gt...
2005 Jul 06
4
Tempfile error
Dear List: I am encountering an error that I can't resolve. I'm looping through rows of a dataframe to generate individual tex files using Sweave. At random points along the way, I encounter the following error Error in file() : cannot find unused tempfile name At which point Sweave halts. There isn't a logical pattern that I can identify in terms of why the program stops at