search for: docparser

Displaying 8 results from an estimated 8 matches for "docparser".

Did you mean: docparse
2004 Jun 23
0
Problem with XML package compilation on AIX
Hi, I hope someone has seen this problem before. I am trying to install the XML package from http://cran.r-project.org/src/contrib/XML_0.95-6.tar.gz. Using > R CMD INSTALL XML_0.95-6.tar.gz I get the following error message: /usr/vac/bin/xlc_r -I/usr/local/lib/R/include -DLIBXML -I/opt/freeware/include/libxml2 -DUSE_EXTERNAL_SUBSET=1 -DROOT_HAS_DTD_NODE=1 -DDUMP_WITH_ENCODING=1
2009 Nov 27
1
Build of XML package failed
Hi list, It may be a FAQ, but I searched the web and Uni of Newcastle Maths and Stats and R mailing list archive on this issue but was unable to find a solution. I would appreciate any pointer to help me solving this. I am using R version 2.10.0 (2009-10-26) on linux mandriva 2010.0 I tried to install the XML_2.6-0.tar.gz package both with install.packages('XML', dep=T) from within R
2006 Jun 24
1
Parsing XML with REXML problem
...see if its working) test.. require ''benchmark'' # factory to instantiate parser instance and parse test file # klass: the class of parser to use def get_parser(klass) lambda do parser_inst = klass.new(''newsfeed.xml'') parser_inst.get_newsfeed end end docparser = get_parser(FeedXMLParser) iterations = 10 Benchmark.bm do |x| x.report { for i in 1..iterations; docparser.call; end } end # display the results art docparser.call Here is a snippet of xml that i am trying to parse: <?xml version="1.0"?>^M <!DOCTYPE newsfeed SYSTEM &quot...
2006 Jun 26
0
DBI question. How do I load a database with data parsed from REXML?
...@newsfeed << p end @newsfeed end end # factory to instantiate parser instance and parse test file # klass: the class of parser to use def get_parser(klass) lambda do parser_inst = klass.new(''newsfeed.xml'') parser_inst.get_newsfeed end end docparser = get_parser(FeedXMLParser) #puts docparser.call.inspect {|x| x.each {|z| puts z}} class ArcticleLoad attr_reader :id, :post, :archive, :ntype, :head, :blurb, :body, :fblurb, :fimage, :att, :source, :copy, :brand def initialize(id, post, archive, ntype, head, blurb, body, fblurb, fim...
2012 Mar 21
1
Trouble installing the XML package
Hello everyone, I am probably not the only one having trouble with this package but here goes. I want to install XML on Ubuntu. I installed libxml2-dev and everything works out fine until I get the following: Error in reconcilePropertiesAndPrototype(name, slots, prototype, superClasses, : No definition was found for superclass "namedList" in the specification of class
2003 Sep 09
1
Building XML package for MacOS X
I am working to build the XML package for R on MacOS X. I have installed libxml2-2.5.9 into /usr/local. I set the LIBXML_INCDIR=/usr/local/include/libxml2. I use R INSTALL, I get the following: R INSTALL -c -l /usr/local/R/library XML_0.94-1.tar.gz : : : gcc -bundle -flat_namespace -undefined suppress -L/sw/lib -L/usr/local/lib -o XML.so DocParse.o EventParse.o ExpatParse.o HTMLParse.o
2003 Oct 09
2
building XML-0.95-1 on MacOS
I am trying to build the XML package on MacOS. I am using the fink installation of libxml-1.8.17. The configuration information is: Configuration information: Libxml settings libxml include directory: /sw/include/gnome-xml libxml library directory: -L/sw/lib -lxml -lz -lz -lxml libxml 2: no Compilation flags: -I/sw/include/gnome-xml -I/sw/include/gnome-xml/libxml
2012 Oct 13
0
XML_3.95-0.1.tar.gz does not build on FreeBSD
I tried to build (and install) XML_3.95-0.1.tar.gz on FreeBSD 10.0-CURRENT amd64, but it stopped during the check of R_HAS_REMOVE_FINALIZERS (full log appended): ---------------------------------- R CMD INSTALL XML_3.95-0.1.tar.gz [..snip..] Checking for 1.8: -DR_HAS_REMOVE_FINALIZERS=1 -I/usr/local/include/libxml2 -I/usr/local/include Using libxml2.* checking for gzopen in -lz... gcc46