Displaying 20 results from an estimated 10000 matches similar to: "XML package for R"
2005 Jan 10
3
Installation of XML library can't find libxml2.dll
Sorry to ask a (probably) dumb question, but I am trying to install XML
package on Windows XP, R 2.0.1, and I get the error:
"This application has failed to start because libxml2.dll was not found.
Re-installing the application may fix this problem"
> library(XML)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
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
2009 Mar 02
2
Need help extracting info from XML file using XML package
I have an XML file that has within it the coordinates of some
polygons that I would like to extract and use in R. The polygons are
nested rather deeply. For example, I found by trial and error that I
can extract the coordinates of one of them using functions from the
XML package:
doc <- xmlInternalTreeParse('doc.kml')
docroot <- xmlRoot(doc)
pgon <-
2011 Jun 29
2
parse XML file
Hi all,
this is my first post in this mailing group. I hope that anyboby could
help me parsing a xml file.
I found this website http://www.omegahat.org/RSXML/gettingStarted.html
but unfortunately my XML file is not as easy as the one in the example.
Example:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet
2007 Jul 07
2
Corporate Feedback to OSS (was: Re: Mushtaq Ahmed is out of the office.)
On Sat, 2007-07-07 at 08:39 -0500,
asterisk-users-request at lists.digium.com wrote:
> Date: Fri, 06 Jul 2007 12:02:53 -0600
> From: Stephen Bosch <posting at vodacomm.ca>
> Subject: Re: [asterisk-users] Mushtaq Ahmed is out of the office.
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users at lists.digium.com>
> Message-ID:
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
2006 Jan 31
1
changing the default repositories
Hello,
Is it possible to change the default repositories?
I've already changed the list in the repositories file under etc/
this is how my repositories file under R/etc looks like:
row name menu_name URL default source win.binary
mac.binary
CRAN CRAN @CRAN@ TRUE TRUE TRUE TRUE
BioC Bioconductor http://www.bioconductor.org TRUE TRUE
TRUE FALSE
2011 Dec 23
2
Custom XML Readers
I need to construct a custom XML reader, the files I'm working with are in
funky XML format:
<str name="author">Paul H</str>
<str name="country">USA</str>
<date name="created_date">2010-02-16</date>
I want to read the file so it looks like:
author = Paul H
country = USA
created_date=2010-02-16
Does any one know how to
2002 Aug 29
3
running SJava
Folks,
Having problems getting started with SJava and request help.
I get this error when running .JavaInit() (within RGui 1.5.1, on Windows
2000):
Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find
the Omegahat interface manager class. Check you classpath!
(Before you right back saying read the emails, please read further - in
short, been there, done that)
2009 Nov 25
2
XML package example code?
I'm interested in parsing an html page. I should use XML, right? Could
you somebody show me some example code? Is there a tutorial for this
package?
2009 Mar 09
2
Cannot update 2.8.1 packages: unable to access index for repository...
I am having trouble updating packages for R 2.8.1 in Windows XP. Note that I *am* able to update packages for R 2.7.0 (see bottom of posting) so this is not an Internet proxy problem. The steps I took were to
(a) Copy over packages from my existing (2.7.0) library subdiretory to the R 2.8.1 library subdirectory. This included a long list of packages including RODBC, rpart, RGraphViz, ggplot2
2010 Apr 16
0
read xml
Hi
I am trying to read selected fields from a xml file with R using xml
package. So far I have learned the basics of this package by going
through the manual, examples, tutorial, and so on (www.omegahat.org/RSXML)
. The problem is that I am getting stuck when it comes down to more
complex xml files. I am a novice in R and xml, and was wondering if
someone could help me out with here.
2012 Nov 01
1
How to parse xml with same key name ?
HI,
I need to parse an xml where key name are same but values are different.
<root>
<test>
Some dummy text
</test>
<node id="1">one</node>
<node id="2">two</node>
<node id="3">three</node>
</root>
When i use xmlGetAttr() function i always get one as value. How
2004 Aug 24
2
how to in XML on windows XP for R 1.9.1
Dear R experts:
I tried two ways to install Package:XML on windows xp for R 1.9.1, all failed.
Messages are given as bellows:
1> download from CRAN
> install.packages("XML", CRAN = getOption("CRAN"),
+ contriburl = contrib.url("http://cran.r-project.org"),
+ available = NULL, destdir = NULL,
+ installWithVers = FALSE)
trying URL
2012 Jul 21
5
package XML does not load in R 2.15.1
I am getting what appears to be an Unbuntu level error in trying to install the
XML package.
Both commands:
install.packages("XML:)
install.packages("XML", dependencies = TRUE)
give an error .
The full installation script is below but the problem to my very inexperenced eye seems to be here:
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot
2004 Sep 29
2
RSXML - Parsing XML Documents on Internet
R Users -
I asked about this a few months ago and never did quite figure it out, so with more information, allow me to try again.
If I use the following code:
library(xml)
xmlTreeParse("http://home.comcast.net/~larsenmtl/xmlTestDoc.xml", isURL = TRUE)
I receive this error:
Error in xmlTreeParse("http://home.comcast.net/~larsenmtl/xmlTestDoc.xml"", :
error in
2004 May 26
3
SJava
Hi again!
I'm trying to download SJava from the http://www.omegahat.org/RSJava/
website.
I'm trying to get the binary.
I download the version from BDR's website.
When I unzip the file via unzip.exe, the new folder appears as SJAVA (upper
case).
>library(SJava)
Error in library(SJava) : There is no package called 'SJava'
>library(SJAVA)
Error in library(SJAVA) :
2004 Sep 10
2
loading Sjava
I'm excited about SJava, and I'ld love to get it working, but can't get
past loading the package.
.First.lib fails on this statement:
> library.dynam("SJava", "SJava", "C:/PROGRA~1/R/rw1091/library")
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
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
2009 Jul 14
1
(simple) xml into data.frame and reverse
Hello,
I am trying to convert a simple data.frame (it will always be a few
equally long variables) into the XML format (which I don't understand
too well but need as input for another program) and reverse the
operation (from XML back into data.frame).
I found some code which does the first and it works good enough for me
(see below). Is there an easy way to reverse the operation? My XML
files