Displaying 20 results from an estimated 100 matches similar to: "Building XML package for MacOS X"
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 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
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
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 Mar 11
1
configure fail for XML package on freebsd
Hi,
I am having problems installing the XML package with R-devel on
freebsd. If I simply do install.packages("XML"), it says that the
parser.h file is not found. After reading the INSTALL file, I have set
setenv XML_CONFIG /usr/local/bin/xml2-config
setenv LIBXML_LIBDIR -L/usr/local/lib
setenv LIBXML_INCDIR -I/usr/local/include/libxml2/libxml
and install.packages("XML")
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
2018 Jun 06
1
minor problem in XML package
[The package XML is labelled ORPHANED and a comment says the CRAN team
maintains it. I am not sure what address to send this to.]
In package XML version 3.98.1.11, RUtils.c registers the C function
RS_XML_xmlNodeChildrenReferences twice. The registration information is
identical but this could cause maintenance problems if the routine were
changed.
% grep -n RS_XML_xmlNodeChildrenReferences
2008 Mar 11
1
Rtools and GCC4 problem
>>
I am trying to compile rseries from Whit Armstrong and a colleague of mine found
a problem with using GCC4
I get the following error when compiling rseries
g++-sjlj -Ic:/R/include -O2 -Wall -c Rutils.cpp -o Rutils.o
Rutils.cpp: In function 'double* getColPointer(SEXPREC*, int)':
Rutils.cpp:406: warning: deprecated conversion from string constant to 'char*'
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
2007 May 18
1
Trouble compiling XML package
Dear Prof. Lang -
I am trying to install the XML library on a 64-bit SUSE linux system
(version info below) running 2.4.1.
I have gcc version 3.3.3, and libxml2 version 2.6.7. I know this is not
current, but I'm on a machine used and administered by others, and
updating libxml2 would require updating libc, and things get pretty
complicated from there.
Trying to install through R (1.9-0),
2009 Feb 24
1
odfWeave problem "Error in xmlEventParse"
Dear list,
Sorry for bothering you with a pure odfSweave question, but I just ran
into a problem that I cannot find the cause of.
Anyonse seen this before? This file "used to work", but not anymore.
Would apreciate all the help I could get.
/Fredrik
---------------------------------------------------------------
>
2008 Jun 10
1
Parse XML
Could someone provide a link or examples of parsing XML document in R? Few
specific questions below:
For instance I can retrieve specific nodes using this:
node <- xpathApply(xml, "//" %+% xtag, xmlValue)
1) I want to be able to retrieve parent node for this node, how can I do
this? getParentNode() does not seem to cut it.
2) How can I retrieve children nodes for a particular
2012 Oct 26
1
Parsing very large xml datafiles with SAX: How to profile <anonymous> functions?
Hello everyone,
I'm trying to parse a very large XML file using SAX with the XML package
(i.e., mainly the xmlEventParsing function). This function takes as an
argument a list of other functions (handlers) that will be called to handle
particular xml nodes.
If when I use Rprof(), all the handler functions are lumped together under
the <anonymous> label, and I get something like this:
2007 Sep 04
1
SOLVED: importing huge XML-Files -- new problem: special characters
Hi all,
thanks to the people who replied to my question! I finally solved the
issue by writing own handlers and using xmlEventParse - which leads
to the following problem which is so odd that its probably a bug.
I use several special charachter in my XML-File, e.g. umlauts or ? or
? - but no matter how I encode my XML (UTF or ISO) or I escape these
characters xmlEventParse always stops
2003 Jun 09
1
installing XML in linux
Hi,
I was trying to install XML package in a linux
(dabian) machine and got the following error message.
I am not sure whether there is any error in my linux
installion. I appreciate suggestions to install XML
properly in this machine.
Thanks in advance.
Mahbub.
######Errors####
$ R CMD INSTALL -l /usr/local/lib/R/library/
XML_0.93-4.tar.gz
* Installing *source* package 'XML' ...
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>
2003 Aug 12
1
install 'XML' package
Greetings-
I tried to install 'XML' packages in R and get following error message:
********************************************************************************
> install.packages("XML")
trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length 123768 bytes
opened URL
.......... .......... ..........
2012 May 20
3
dot - comma problem
Dear all
I am trying to use the ODB package to connect to an libreoffice-odb database.
The libreoffice package is german, thus, decimal separator is a comma. However,
I can open the database and upload a it without error,
library(ODB)
db <- odb.open("Test.odb")
but a soon as the "odb.open" command is executed, the decimal separator in R
is changed to comma.
Before
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,