Displaying 17 results from an estimated 17 matches similar to: "odfWeave error"
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), :
2009 Oct 15
1
Lattice package - Trellis
Hi,
I was trying to make a graph using trellis, and my code is:
-----------------------------------------------------------------
library(lattice)
makeGraph <- function(){
trellis.device()
tbg <- trellis.par.get("background")
tbg$col <- "white"
trellis.par.set("background",tbg)
# Test Data
mfr <- matrix(sample(1:100,50,replace=T),ncol=2)
2011 Nov 11
2
One step way to create data frame with variable "variable names"?
Suppose
plotx <- "someName"
modx <- "otherName"
plotxRange <- c(10,20)
modxVals <- c(1,2,3)
It often happens I want to create a dataframe or object with plotx or
modx as the variable names. But can't understand syntax to do that.
I can get this done in 2 steps, creating the data frame and then
assigning names, as in
newdf <- data.frame( c(1, 2, 3, 4),
2009 Jun 30
1
odfWeave : problems with odfInsertPlot() and odfFigureCaption()
Dear Max, dear list,
I have trouble using odfInsertPlot to insert plots outside fig=TRUE
chunks.
My goal is to dump a bunch of (relatively uninteresting, but required)
graphs from within a loop, possibly interspeded with some tables. This
is not possible within a normal fig=TRUE chunk.
odfInsertPlot() is able to insert a previously saved plot. When used in
a fig=TRUE, results=hide chunk, it
2019 Jul 08
2
Salvar los plots a alta resolución la vez de incluirlos en documento
Buenas!
Supongo que será fácil, pero se me está haciendo difícil.
Tengo un documento Rmarkdown en RStudio en el que escribí lo que me
pidieron, que me lo piden en formato MS Word. Markdown lo saca
decentemente, pero me temo que no tan decente del todo las imágenes. Quiero
que, además de salir las imágenes incrustadas en los respectivos chunks,
también salve automáticamente la imágen en archivos a
2005 Sep 21
5
SAX Parser best practise
Dear All,
I have a question regarding best practise in setting up a XML parser
within R.
Because I have files with more than 100 MB and I'm only interested in
some values I think a SAX-like parser using xmlEventParse() will be the
best solution.
Unfortunately the values I'm looking for, to construct some higher "mass
spectrum", are distributed over different lines: as
2009 Feb 11
2
plots and text to the same output file
Hello,
I would like to save different plots and some text (like summaries, AIC, ...) on the same file.
I've read the e-mails entitled "Output results to a single postscript document" written some days ago and I've tried
to use the function odfInsertPlot() in the package "odfWeave" but it doesn't work on my computer (I've seen that
odfWeave package depends on
2009 Jan 22
1
Problem with cex=0.1 when making jpegs
I am using the following script to make .jpg files.
jpeg('plotx.jpg')
ddat <-read.table("file",header=T)
attach(ddat)
tdat<-read.table("file1")
plot(xx1,yy1,type='p',pch=1,col="blue",cex=0.2,xlim=c(0,3.5),ylim=c(-75,75))
points(tdat,col="green",pch=1,cex=0.2)
dev.off()
The problem is that I want the points to be very small;
2007 Jul 18
1
odfWeave - How to Insert eps rather than png
If you create plots and use odfWeave to create an odf text document, the
default for figures is png bitmap graphics. The only way I've found to
insert eps graphics is to first create the eps graphic using the
postscript driver and then use odfInsertPlot. I've tried to use
getImageDefs and setImageDefs but I get an empty plot. Could someone
show an example?
Rick B.
2005 May 08
2
Extract just some fields from XML
Hello!
I am trying to get specific fields from an XML document and I am totally
puzzled. I hope someone can help me.
# URL
URL<-"http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id=11877539,11822933,11871444&retmode=xml&rettype=citation"
# download a XML file
tmp <- xmlTreeParse(URL, isURL = TRUE)
tmp <- xmlRoot(tmp)
Now I want to extract only
2007 Sep 01
2
Importing huge XML-Files
Dear all,
for my diploma thesis I have to import huge XML-Files into R for
statistical processing - huge means a size about 33 MB.
I'm using the XML-Package version 1.9
As far as reading the complete file into R via xmlTreeParse doesn't
work or is too slow, I'm trying to use xmlEventParse but I got
completely stuck.
I have many different type of nodes
+ <configuration>
2010 Apr 28
1
Errors when trying to open odfWeave documents
Hello
I tried the odfWeave package today, by running the formatting.odt and
example.odt files that are included with the package.
They both ran fine, but when I try to open them in my OpenOffice
(OpenOffice 3.1.1 on Kubuntu 9.10) I get an error "Format error
discovered in the file in sub-document content.xml at 1293,124(row,col)."
I also tried to open them in MS Word 2003 (Windows
2005 May 10
0
Fwd: Extract just some fields from XML]
Duncan, you are a king!
Thanks a lot for this cookie. It really helped me. Thanks for the code
as well as detailed explanation at the end.
>Hi Gregor.
>
>Here is a function that will collect all of the nodes in the
>XML document whose names are in the vector elementNames
>
>getElements =
>function(elementNames)
>{
> els = list()
>
> startElement = function(node,
2013 Oct 25
0
Wine release 1.7.5
The Wine development release 1.7.5 is now available.
What's new in this release (see below for details):
- Support for registration-free COM using activation contexts.
- Improved support for simulated bold fonts.
- Unicode data updated to Unicode 6.3.
- Better support for typelib registration on 64-bit.
- Various bug fixes.
The source is available from the following locations:
2007 Apr 09
1
How to solve differential and integral equation using R?
Hello,
I want to know if there are some functions or packages to solve differential
and integral equation using R.
Thanks.
Shao chunxuan.
[[alternative HTML version deleted]]
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan,
Sorry for the delay. It's great that you are working on MergeFunctions
as well and I agree, we should definitely try to combine our efforts to
improve MergeFunctions.
Just to give you some context, the pass (with the similar function
merging patch) is already being used in a production setting. From my
point of view, it would be better if we focus on improving its
capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hello Sean and Tobias,
Sean,
Thank you. Could you describe Nick's ideas in few words or give me links
to your discussion, so I could adapt my ideas to it.
Tobias,
Your patch fails on several modules in my benchmark (73 of ~1800 tests).
I have sent one as attachment.
See statistics files for more details, all the .ll files you could
simply find in test-suite object directory (after