Displaying 20 results from an estimated 100 matches similar to: "Sweave: multiple graphic formats, e.g. win.metafile"
2020 Jul 08
1
Adding RtangleRuncode and RtangleFinish to exports of utils
Hi,
Could R-Core consider adding 'RtangleRuncode' and 'RtangleFinish' to the exports of utils. Their weave equivalent 'makeRweaveLatexCodeRunner' and ?'RweaveLatexFinish' are exported, as well as the other tangle utility functions 'RtangleSetup' and 'RtangleWritedoc'.
The rationale is not just symmetry. ;-)
I'm finishing a small package that
2010 May 28
1
Does Sweave run in the global environment ?
Hello
It seems that sweave always runs in the global environment. I want to
run sweave from within a function, and pass a variable into sweave,
however when I do this, sweave doesn't see the variable.
Here's my example test_sweave.Rnw file
|%
\documentclass[a4paper]{article}
\usepackage[OT1]{fontenc}
\usepackage{Sweave}
\begin{document}
\title{Test Sweave Document}
\author{Paul
2013 Jan 08
2
[LLVMdev] ExecutionEngine always comes back NULL
Sorry I forgot to add code that I use to run code:
/* Executes the AST by running the main function */
GenericValue CodeGenContext::runCode() {
std::cout << "Running code...\n";
ExecutionEngine *ee = EngineBuilder(module).create();
vector<GenericValue> noargs;
GenericValue v = ee->runFunction(mainFunction, noargs);
std::cout << "Code was run.\n";
return v;
2010 Jul 26
2
Trouble using grid.layout in Sweave
Hi!
I am troubled by Sweave which I want to use in order to plot graphics which
I build up successively by the use of grid.layout. Here is the code:
<<fig=TRUE,label=evolDist,height=6in,width=3in,pdf=FALSE>>=
## combined plot via grid viewports
grid.newpage()
pushViewport(viewport(layout=grid.layout(2,1)))
vlay <- function(x,y) viewport(layout.pos.row=x, layout.pos.col=y)
2013 Jan 08
0
[LLVMdev] ExecutionEngine always comes back NULL
On Jan 8, 2013, at 8:09 , Manuele Conti <manuele.conti at sirius-es.it> wrote:
> Sorry I forgot to add code that I use to run code:
> /* Executes the AST by running the main function */
> GenericValue CodeGenContext::runCode() {
> std::cout << "Running code...\n";
> ExecutionEngine *ee = EngineBuilder(module).create();
> <
> div
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 mechanism,
2004 Oct 19
2
Sweave and Trellis in R 2.0.0patched (Windows)
I've been using the following code to plot using Sweave in version
1.9.1
library(RODBC)
library(lattice)
channel <-odbcConnectExcel("h:/water.xls")
data <- sqlQuery(channel,"select * from `Sheet1$` where Test = 'TOC' and
(Valve='5010-05' or Valve='8030-V26' or Valve='1180-08' or
Valve='5040-08')")
odbcClose(channel)
srt <-
2007 May 18
1
How to extract R codes that embedded in a HTML file
> -------- Original Message --------
> Subject: Re: [R] How to extract R codes that embedded in a HTML file
> using Stangle?
> Date: Thu, 17 May 2007 17:01:30 +0000
> From: Tao Shi <shitao at hotmail.com>
> To: ligges at statistik.uni-dortmund.de, lecoutre at stat.ucl.ac.be
> CC: r-help at stat.math.ethz.ch
> : <jmcconnell at
2010 Nov 29
1
Sweave choking on \\ in filename
Dear all,
Sweave chokes when using "\\" in the path to the Rnw file. Using "/"
works fine. The problem is that Eclipse+StatET uses "\\" in the
filename.
And example of the error, traceback and sessionInfo are given below.
Best regards,
Thierry
> Sweave("Q:\\BMK\\cursussen\\interne_opleiding\\deelnemerslijst.Rnw",
syntax="SweaveSyntaxNoweb")
2023 Jan 31
1
[libnbd PATCH v2 3/3] nbdsh: Improve --help and initial banner contents.
On Tue, Jan 31, 2023 at 01:33:25PM +0200, Nir Soffer wrote:
> On Tue, Jan 31, 2023 at 12:34 AM Richard W.M. Jones <rjones at redhat.com> wrote:
> >
> > On Fri, Nov 04, 2022 at 04:18:31PM -0500, Eric Blake wrote:
> > > Document all options in --help output. If -n is not in use, then
> > > enhance the banner to print the current state of h, and further tailor
2013 Jan 08
0
[LLVMdev] ExecutionEngine always comes back NULL
Hi Rick,
I had the same problem last week I understand that I didn't initialized
target.
Cheers,
Manuele
Il 08/01/2013 16:08, Rick Mann ha scritto:
> I wrote a little OS X app to assemble some LLVM (human-readable) code and run it. Unfortunately, my ExecutionEngine won't create. Just comes back NULL.
>
> This is the code that builds it:
>
> http://pastebin.com/8cexgPj7
2023 Jan 31
1
[libnbd PATCH v2 3/3] nbdsh: Improve --help and initial banner contents.
On Tue, Jan 31, 2023 at 11:52:27AM +0000, Richard W.M. Jones wrote:
> On Tue, Jan 31, 2023 at 01:33:25PM +0200, Nir Soffer wrote:
> > On Tue, Jan 31, 2023 at 12:34 AM Richard W.M. Jones <rjones at redhat.com> wrote:
> > >
> > > On Fri, Nov 04, 2022 at 04:18:31PM -0500, Eric Blake wrote:
> > > > Document all options in --help output. If -n is not in
2019 Jun 17
2
[nbdkit PATCH] extents: Cap maximum reply length
A devious plugin can cause an 8-fold increase in the reply size in
relation to the request size, by alternating status every byte of the
request. In the worst case, this can cause the client to reject our
response and kill the connection because the response is too large.
What's more, it consumes a lot of memory to track that many extents.
Let's put an upper bound on the maximum number of
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
2007 Jun 28
4
Sweave bug? when writing figures / deleting variable in chunk
I have found a quite strange (to me) behaviour in Sweave. It only
occurs in the following situation:
1. define a variable in one chunk
2. use it within a subsequent figure-generating chunk
3. delete it at the end of that same chunk
Then the Sweave driver chokes, not finding the variable name when
generating the figure
Example:
% document bug2.Rnw
\documentclass{article}
\usepackage{Sweave}
2023 Jan 31
1
[libnbd PATCH v2 3/3] nbdsh: Improve --help and initial banner contents.
On Tue, Jan 31, 2023 at 12:34 AM Richard W.M. Jones <rjones at redhat.com> wrote:
>
> On Fri, Nov 04, 2022 at 04:18:31PM -0500, Eric Blake wrote:
> > Document all options in --help output. If -n is not in use, then
> > enhance the banner to print the current state of h, and further tailor
> > the advice given on useful next steps to take to mention opt_go when
>
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.
2013 Jan 08
4
[LLVMdev] ExecutionEngine always comes back NULL
I wrote a little OS X app to assemble some LLVM (human-readable) code and run it. Unfortunately, my ExecutionEngine won't create. Just comes back NULL.
This is the code that builds it:
http://pastebin.com/8cexgPj7
This is the code it seems to successfully assemble, but it can't build the ExecutionEngine. You can see I tried several different ways of building it.
2007 Dec 01
2
Sweave: Variables in code chunk headers
I would like to be able to do something like this:
<<echo=F,fig=T,width=mywidth>>=
...
@
with mywidth set in a previous code chunk. Is there a way to do this in
Sweave?
(Sorry for two questions in a row, I have been saving these up.)
--
Michael
2007 Dec 01
2
Sweave: Variables in code chunk headers
I would like to be able to do something like this:
<<echo=F,fig=T,width=mywidth>>=
...
@
with mywidth set in a previous code chunk. Is there a way to do this in
Sweave?
(Sorry for two questions in a row, I have been saving these up.)
--
Michael