similar to: Custom XML Readers

Displaying 20 results from an estimated 700 matches similar to: "Custom XML Readers"

2010 Nov 29
1
map() and pdf clipping
Hello, Below is a function (test.map) that permits drawing the same map using three different devices. The "pdf" device doesn't clip polygons to the plot region as I see it does by both the native device (in my case "Quartz") and the "png" device. test.map("pdf") # produces "test-map.pdf" with no clipping test.map("png") #
2005 Dec 16
2
Ferret questions
Hi, I am just getting started with Ferret, but I have a couple of questions. Any help is appreciated. 1) Will the current Ferret implementation only work on one server due to the index file? If it will work on multiple servers, could you point me towards some documentation? If not, are there plans to add support in the future? 2) This may not be Ferret-specific, but if I were implementing
2012 Nov 14
2
How to filter xml value in R?
Hi, I have one xml file. <Class> <Node1 code ="1"> First node </Node1> <Node2 code ="1"> Second node </Node2> <Node3 code ="1"> Third node </Node3> <Node1 code ="2"> Fourth node </Node1> </Class> for (i in 1:xmlSize()) { print(Class[i]) # how can i filter Node1 ? } by
2011 Oct 28
1
Polynomial regression line
The cubic regression of my model is significant and I want to plot a line that best fits. It's not abline() function, because it has a curve. Please, how can I plot it? --- Fernando Andreacci BiĆ³logo Fone +55 47 9921 4015 fandreacci@gmail.com [[alternative HTML version deleted]]
2011 Mar 12
1
creating list of lists
Question 1: I have a long list of variable names such as first <- c("one","two","three") and what I want to do is create a list of lists ... where the names of each of overall lists components are "one","two", and "three". This is the same result as second <- list(one=list(),two=list(),three=list()) Is there a way to exploit
2012 Nov 03
1
How to make pch symbols thicker?
Hi I need to know how to make pch symbols like pch=3 (+) or pch=4(x) or even the border of squares or triangles thicker without changing the size. I have a lot of symbols of different colors but you can't see the colors clearly and I don't want to change the symbol. Thanks! -- View this message in context: http://r.789695.n4.nabble.com/How-to-make-pch-symbols-thicker-tp4648295.html
2011 Nov 15
3
if/else scope
What is wrong with the following? x <- 1:2 if(x[1] > 0) { if(x[2] > 0) { print("1 & 2 > 0") } else { print("1 > 0") } } else { if(x[2] > 0) {
2012 Oct 29
1
XML namespace control
Hello, I am working with a database system from which I can retrieve these kinds of user defined fields formed as XML ... <udf:field unit="uM" type="Numeric" name="facs.Stain final concentration">5</udf:field> You can see in the above example that "field" is defined in the namespace "udf", but that the "udf" namespace is
2010 Dec 10
3
Textwrangler Languages Folder
Dear R Community, I recently switched to a Mac (10.6.5), and have installed Textwrangler to run code to R. However, I can't install the syntax highlighting file because I can't find the directory: "~Users/username/Library/Application Support/TextWrangler/Language Modules/". Is there a different location I can place the syntax highlighting file? Scott [[alternative HTML
2012 Sep 26
1
RCURL ftp upload - ASCII or Binary type?
I'm trying to upload a file using RCURL:s ftpUpload() to a ftp-server using the following command: > ftpUpload("'VERY.ODD.FILE.NAME(+1)'",to="ftp://x.x.x.x/","' VERY.ODD.FILE.NAME(+1)'",userpwd="USER:PASSWORD") OK 0 The file I'm trying to upload is a very simple text-file but with a bit weird filename. Note the ' on each
2011 Sep 09
3
split variable / create categories
Hi, is there a function or an easy way to convert a variable with continuous values into a categorial variable (with x levels)? here is what I mean: I want to transform x: x <- c(3.2, 1.5, 6.8, 6.9, 8.5, 9.6, 1.1, 0.6) into a 'categorial'-variable with four levels so that I get: [1] 2 2 3 3 4 4 1 1 so each element is converted into its rank- value / categorial-value (in
2012 Sep 06
1
[Rscript] difficulty passing named arguments from commandline
Wanting a commandline solution (for a problem detailed @ http://mailman.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/2012/msg00279.html ) I turned to Rscript, and whacked out the q'n'd https://github.com/TomRoche/GEIA_to_netCDF/blob/master/netCDF.stats.to.stdout.r However it wasn't as quick as hoped, because I spent quite a bit of time figuring out how to pass the arguments.
2012 Jan 05
4
automatic SI prefixes as ticklabels on axis
i want to plot values with frequency on a logarithmic x axis. similar to this example that i found in the web: http://www.usspeaker.com/jensen%20p15n-graph.gif I would like to convert long numbers to si prefix notation like in the example (200000 to 200k, 35000000 to 3.5 M) Of course i could create labels by hand, but i have many files so i need some automatic function. Has anyone done that
2013 Jan 22
2
Creating a Data Frame from an XML
Hello, I'm attempting to read information from an XML into a data frame in R using the "XML" package. I am unable to get the data into a data frame as I would like. I have some sample code below. *XML Code:* Header... Data I want in a data frame: <data> <row BRAND="GMC" NUM="1" YEAR="1999" VALUE="10000" /> <row
2003 Jul 28
3
http://www.omegahat.org/RSXML
Hi, As the server www.omegahat.org seems to be down since quite a while, could someone send me the RSXML library for Windows2000 ? Many thanks, Marc Mamin
2003 Jun 09
2
XML package for R
Hi, Does anyone have a binary of XML package for 1.7.0 on Windows? I have searched it at the RSXML pages (http://www.omegahat.org/RSXML/ ) but it seems it is no longer support. Any pointers for the compiled version will be appreciated. Regards, mushtaq [[alternate HTML version deleted]]
2004 Aug 12
1
Error Using pm.getabst()
R Users: After installing Bioconductor, RSXML and all the relevant Win32 DLLs (libxml2, zlib, iconv), I receive the following error message when using pm.getabst() Error in xmlRoot(absts) : no applicable method for "xmlRoot" I receive this when using the example from help(pm.getabst). Downloading the target XML file, parsing it with xmlTreeParse and applying xmlRoot returns no
2018 Mar 22
2
how to add a child to a child in XML
Big thanks. newXMLNode works great. Wonder why it is not included in the documentation. There is newXMLDoc and newXMLNamespace, but no mention of newXMLNode. Stephen From: Ben Tupper [mailto:btupper at bigelow.org] Sent: Wednesday, March 21, 2018 6:18 PM To: Bond, Stephen Cc: r-help Subject: Re: [R] how to add a child to a child in XML Hi, XML doesn't use the `$` to access child nodes.
2012 Jan 13
3
tm package, custom reader
I need help with creating custom xml reader for use with the tm package. The objective is to crate a corpus for analysis. Files that I'm working with come from solr and are in a funky XML format never the less I'm able to parse the XML files using solrDocs.R function provided by Duncan Temple Lang. The problem I'm having that once I parse the document I need to create a custom
2018 Mar 22
0
how to add a child to a child in XML
Hi, It's a reasonable question. The answer is that it actually is included, but there are many instances across packages where multiple functions are documented on a single help page. The following brings up such a page... (for XML_3.98-1.9) > library(XML) > ?newXMLNode You can see the same on line... https://www.rdocumentation.org/packages/XML/versions/3.98-1.9/topics/newXMLDoc