Displaying 20 results from an estimated 700 matches similar to: "Parsing a XML file"
2009 Oct 10
7
SPSS long variable names
Hello guys I am new to this list and for R too.
I am wondering if there is a patch for the SPSS reading code on the
foreign package, in order to be able to read long variable names.
Right now read.spss() just trunc the names to 8 characters.
Or if someone could help me on other way:
I have to process everyday a lot of SPSS Syntax Files and Dat files
that come from one system that can only export
2010 Mar 18
2
R and getting a file through https
Dears!
I have a system that generates links on a https webserver.
I have to be logged on with a username and password; Then follow at
least fife links to get into the link where I can download the file.
The question is: How can I accomplish that with R?
Caveman
2010 Aug 10
2
Replacing characters
Hello guys! May be I am lazy but
I need to replace a character like \ or ' or to escape them in a character
vector to write a SQL statement.
How can I do that?
Caveman
[[alternative HTML version deleted]]
2010 Aug 30
4
getNodeSet - what am I doing wrong?
Hi,
Why is the following retuning a nodset of length 0:
> library(XML)
> test <- xmlTreeParse(
> "http://www.unimod.org/xml/unimod_tables.xml",useInternalNodes=TRUE)
> getNodeSet(test,"//modifications_row")
Thanks for any hint.
Joh
2010 Feb 13
4
Labels on a pyramide
I am using pyramid.plot() from the plotrix package.
I have something like this
############################################
xy.pop<-dados$masfr
xx.pop<-dados$femfr
#agelabels<-dados$femlab
xycol<-color.gradient(c(0,0,0.5,1),c(0,0,0.5,1),c(1,1,0.5,1),11)
xxcol<-color.gradient(c(1,1,0.5,1),c(0.5,0.5,0.5,1),c(0.5,0.5,0.5,1),11)
xylab<-dados$maslab
xxlab<-dados$femlab
2011 Jun 25
2
Access R functions from web
I need a way to send R objects and call R functions from web. Is there any
project close or similar to that?
I want to be able to send an HTTP rquest from an existing application with
some data. And obtain a plot from R.
Thanks in advance
Caveman
[[alternative HTML version deleted]]
2011 Jun 26
1
RJDBC and multiple classpaths
Corect me if this is not the right place to post this.
I have a mdbdriver.jar (to access an MSAccess file) under Linux. I bought
the license from http://www.csv-jdbc.com/ guys. The driver work fine when
tested with DBVisualizer or another JDBC thing.
The problem is that driver needs 3 other more jar files to work. Under R I
have tried this and does not work:
> library(RJDBC)
Loading required
2006 Mar 17
6
Updated the xml code to be more object-oriented
I changed the code to be more prototype-esque, and created a class
called XMLDoc. I may add more functionality to it later, hence the more
generic name, but you do something like this to convert XML to a hash:
XMLDoc = Class.create();
Object.extend(XMLDoc.prototype, {
initialize: function (xmlDoc) {
this.element = xmlDoc;
},
asHash: function () {
if (! this._xmlHash) {
2012 Jan 18
1
Compile error 1.8.8.1
Hi,
While compiling 1.8.8.1, I met the following error:
[AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o
hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o
btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o
btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o
btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o
2016 Dec 04
2
Asterisk Can't start with the default configs
No, the disable-xmldoc doesn't disable the whole doc creating procedure.
Is there a way to disable it completely?
Regarding the issue... Of course, I Can open a ticket, just I don't know
about what exactly. I want to compile it without doc generate to make the
asterisk module loads up fine.
On Dec 4, 2016 8:41 PM, "Joshua Colp" <jcolp at digium.com> wrote:
> On Sun,
2010 Aug 10
1
DEBUG: Cannot find variable 'XXX' ??
On 1.6.2.11-rc2 I've noticed a bunch of DEBUG statements on startup,
such as:
== Registered custom function 'SIP_HEADER'
[Aug 9 07:01:23] DEBUG[17330]: xmldoc.c:1727 xmldoc_build_field: Cannot
find variable 'SIPPEER' in tree 'description'
== Registered custom function 'SIPPEER'
[Aug 9 07:01:23] DEBUG[17330]: xmldoc.c:1727 xmldoc_build_field: Cannot
find
2006 Feb 07
2
Question about Classes.
I have the attached class that I''m writing. The problem that I''m
running into is that I can not access the options from the createArray
function which get called after the ajax request gets done. I want to
move the values of the xml file to an array and story it in the options
variable. Can someone explain what I''m doing wrong?
var LeaderInfo = Class.create();
2016 Dec 04
3
Asterisk Can't start with the default configs
Hi,
I tried to run the make progdocs, but the first time, it said, I have no
doxygen installed. So I compiled the latest release and reconfigure the
asterisk. And after it, ut sucessfully started to build the docs. But it
took a lot of time, So finally I aborted the process...
Is there a way to disable doc creating? The --disable-xmldoc is enough?
Thanks!
On Dec 2, 2016 3:36 PM, "Joshua
2012 Nov 03
3
Installation Problem with asterisk 1.6
Dear All,
I'm installing the asterisk-1.6.2.24 in Centos 5.3, whenever i'm running
following command
./configure
I got below error:
configure: *** XML documentation will not be available because the
'libxml2' development package is missing.
configure: *** Please run the 'configure' script with the
'--disable-xmldoc' parameter option
configure: *** or install the
2009 Aug 11
2
Mobimouse
Dear wine-experts,
I use (jaunty) linux and successfully installed the trial of the application called mobimouse (http://www.morphologic.hu/mldownload/Orszagh-fele-angol-magyar-magyar-angol-nagyszotar-MoBiMouse-6.html) under wine. I used it before under windows and it really is a clever software. It works like stardict: recognises what word is under the mouse-pointer and immediately translates it
2008 Jan 19
1
Set Return Type XML in Prototype
Please help i can''t return xml data using prototype.
If i use data from direct xml file then it works fine but when i use
ajax request with header content xml it''s not working
My code just work on IE but in FF it does not working. My code sample
are given below
If any one already done this kinds of job Please help me as soon as
possible.
var xmlDoc;
function Claulate()
{
var
2008 Jun 25
0
Memory allocation failed: Copying Node
Following code bugs with "Memory allocation failed: Copying Node" error after
parsing n thousand files. I have included the main code(below) and
functions(after the main code).
I am not sure which lines are causing the copying Node which results in
memory failure. Please advise.
#Beginning of Code
for(i in 1:nrow(newFile)) {
if(i%%3000 == 0) gc()
2011 Aug 20
2
Pattern names matching
Dear R magic guys.. I have two tables (actually will be dataframes), both
with names to be matched.
The names on the first dataframe are from a study with antenatal visits on
some health centers here. It happens that we need the delivery info. And
half and some thing else of the women decided to delivery some where else
our health units. We managed to get the names from some other places but now
2011 Mar 15
2
Table multiple answers variables
I have a dataset like this:
q25_1 q25_2 q25_3 q25_4 q25_5 q25_6 q25_7 q25_8 q25_9 q25_10 q25_11 q25_12
1 2 2 1 1 2 1 2 1 1 2 1 3
2 2 2 2 1 2 1 2 1 1 2 1 2
3 2 1 1 1 2 1 2 1 2 2 1 2
4 2 2 1 1 2 2 2 1 1
2008 Mar 25
4
SAXXMLReader
Perhaps the msxml3: Added support for SAXXMLReader causes compilation failure on
my ubuntu gutsy amd64
libxml/SAX2.h: No such file or directory
libxml/SAX2.h was first included from saxreader.c:41
make[2]: [Makefile] Error 1 (ignored)
../../tools/makedep -C. -S../.. -T../.. -I/usr/include/libxml2
-I/usr/include/libxml2 attribute.c cdata.c comment.c docfrag.c domdoc.c
domimpl.c element.c