search for: addtag

Displaying 9 results from an estimated 9 matches for "addtag".

Did you mean: addta
2003 Jul 30
1
Write XML according to ggobi DTD
Hi, Has anyone out there written a function to take a data.frame as input and generate XML that conforms to the DTD for ggobi ("ggobi.dtd")? In other words, like a simple version of the writeSDML function in the StatDataML package, but using ggobi.dtd instead of StatDataML.dtd. It looks easy to write such a function to handle data.frames with only numeric data, but a bit of work with
2007 Jun 12
4
pretty report
Dear Listers: I have a couple of data frames to report and each corresponds to different condtions, e.g. conditions=c(10, 15, 20, 25). In this examples, four data frames need to be exported in a "pretty" report. I knew Perl has some module for exporting data to Excel and after googling, I found R does not. So I am wondering if there is a package in R for generating good reports. I
2009 Jul 14
1
(simple) xml into data.frame and reverse
...les are nothing fancy (no child nodes or anything, at least as far as I can see. ### data.frame data<- as.data.frame(cbind(c( 0 , 1 ),c( 500 , 300),c(200, 400))) names(data)<-c("age","0","1") ### converts data.frame into XML xml <- xmlTree() xml$addTag("populationsize", close=FALSE) for (i in 1:nrow(data)) { xml$addTag("size", close=FALSE) for (j in names(data)) { xml$addTag(j, data[i, j]) } xml$closeTag() } xml$closeTag() # view the result cat(saveXML(xml)) I put below also an example of how my data...
2007 Oct 16
3
sieve filtering, rewriting subjects
Is it possible to modify an emails subject line in a sieve script? I've seen references to 'addtag' whilst googling, but it appears dovecots implementation doens't support it - are there any other methods? As a side note, can anyone suggest a web based script editor that works? Simply a text area to write the script in would do Thanks, -- Ian P. Christian ~ pookey.co.uk
2008 Jul 02
1
Removing or overwriting an XML node
...: <?xml version="1.0"?> <Duncan> <name a="1" b="xyz"> <first>Duncan</first> <last>Temple Lang</last> </name> </Duncan> created by e.g. ? library(XML) tr <- xmlTree("Duncan") tr$addTag("name", attrs=c(a=1,b="xyz"), close=F) tr$addTag("first", "Duncan") tr$addTag("last", "Temple Lang") tr$closeTag() cat(saveXML(tr)) And now imagine I want to change <first>Duncan</first> into e.g.? <initials>...
2011 Nov 28
1
Speex stereo encoding
...speex_encode_stereo_int(input, frame_size, &bits); } //Encode the input data and write it to the cbits speex_encode_int(enc_state, input, &bits); nbBytes = speex_bits_write(&bits, cbits, MAX_FRAME_BYTES); //Add encoded frame to .flv file flvFile.AddTag(nbBytes, (unsigned char*)cbits); } //Close the files and destroy encoder fclose(fin); fclose(speex); speex_bits_destroy(&bits); speex_encoder_destroy(enc_state); } And another question. Is the libspeex thread safe?
2007 Aug 25
0
Bug#412201: [PATCH] Squashed commit of the following:
...++++++++++ src/logcheck | 2 +- 2 files changed, 13 insertions(+), 1 deletions(-) diff --git a/etc/logcheck.conf b/etc/logcheck.conf index 2d2c378..c8a823d 100644 --- a/etc/logcheck.conf +++ b/etc/logcheck.conf @@ -63,3 +63,15 @@ FQDN=1 # Controls [logcheck] prefix on Subject: lines # ADDTAG="no" + +# Set a different location for temporary files than /tmp +# this is useful if your /tmp is small and you are getting +# errors such as: +# cp: writing `/tmp/logcheck.y12449/checked': No space left on device +# /usr/sbin/logcheck: line 161: cannot create temp file for here docu...
2004 Sep 01
2
dedup and sort rules
A non-text attachment was scrubbed... Name: parse_logcheck Type: application/octet-stream Size: 3860 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040901/b1727d89/attachment.obj
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
..."2007-02-02",72.2,72.2,72.2,72.2,200,70.06 "2007-02-05",71.76,71.76,71.76,71.76,5100,69.63 "2007-02-06",72.85,72.85,72.85,72.85,3800,70.69 "2007-02-07",72.85,72.85,72.85,72.85,0,70.69'), as.is=TRUE) library(XML) xml <- xmlTree() xml$addTag("document", close=FALSE) for (i in 1:nrow(data)) { xml$addTag("row", close=FALSE) for (j in names(data)) { xml$addTag(j, data[i, j]) } xml$closeTag() } xml$closeTag() # view the result cat(saveXML(xml)) Paul zubin wrote: > Duncan, thanks for the n...