Displaying 20 results from an estimated 6000 matches similar to: "http://www.omegahat.org/RSXML"
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]]
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
2004 Nov 23
2
sorting without order
Hello,
In order to increase the performance of a script I'd like to sort very large vectors containing repeated integer values.
I'm not interesting in having the values sorted, but only grouped.
I also need the equivalent of index.return from the standard "sort" function:
f(c(10,1,10,100,1,10))
=>
grouped: c(10,10,10,1,1,100)
ix: c(1,3,6,2,5,4)
is there a way
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
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
2005 Feb 21
2
character occurence within a string
Hello,
I'm looking for a function that counts the occurences of a given character within a string.
f('|','ab|c|d') => 2
More precisely, I need to complete a vector of strings to ensure that all elements have the same count of a "separator":
a|b|c
a
|a|b|c|d
=>
a|b|c||
a||||
|a|b|c|d
I guess that scan makes use of an internal function that would do
2005 Jan 12
2
mydataframe$colname: using substring of colname may also match some column (PR#7496)
Full_Name: Marc Mamin
Version: 1.8, 2.0.0
OS: Windows & Linux
Submission from: (NULL) (217.17.202.254)
Using only the beginning of a column name will match it:
>aaa<-1
>df<-as.data.frame(aaa)
>names(df)
[1] "aaa"
>df$a
[1] 1 !!!!!!!!! (I expect df$a to be undefind)
>df$x
>NULL
Compare with:
> df["aaa"]
aaa
1 1
> df["a"]
2004 Oct 20
2
does R provides a wait or pause function?
Hello,
I'd like to insert a "wait" function in my code.
The reason is that I output timestamped files and I want to ensure that at least 1 second separes 2 files to avoid overwriting the previous file.
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 <-
2004 Oct 27
1
regexp,grep: capturing more than one substring
Hello,
I would like to have a function that retrieve matching strings in the same way as with java.util.regex (java 1.4.2).
Example:
f('^.*(xx?)\\.([0-9]*)$','abcxx.785')
=>
c('xx','785')
First of all: Is it possible to achiev this with grep(... perl=TRUE,value=TRUE )?
As I would call this function very often with large data, I'm reluctant to use Sjava
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
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
2003 Sep 09
2
lattice.xyplot: adding grid lines
Hallo,
I'd like to add grid lines to a lattice graph having 2 series of Y data.
See these 2 examples:
data(iris)
[1]
xyplot(Sepal.Length + Sepal.Width ~ Petal.Length ,
data = iris, allow.multiple = TRUE, scales = "same",type="l",
)
[2]
xyplot(Sepal.Length + Sepal.Width ~ Petal.Length ,
data = iris, allow.multiple = TRUE, scales =
2004 Sep 29
4
multiple match question
Hello,
I'm looking for a fast way to retrieve the position of elements from a vector which match element in another vector.
Example
va<-c('a','e')
vb<-c('a','b','c','d','e','f','e')
f(va,vb) should return c(1,5,7)
I have 2 different cases:
I) my vector vb contains only distinct values
II) my vector vb may
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
2003 Jul 28
0
cran.us.r-project.org and www.omegahat.org back on line
We had two power failures Saturday morning that brought down the
machine that serves as cran.us.r-project.org and as www.omegahat.org.
The automatic reboot was unsuccessful because one of the file systems
required a manual file system check.
I was blissfully unaware of this until this morning. Those sites are
now back online.
2002 Oct 24
1
Rjava failing to initialize in Windows 2000
Dear Any,
I am trying to initialise Rjava with the objective of running ORCA within R.
I am running R1.5.1 on Windows2000 and get the same problem with Sun
Java run time jre-1.2.2_013
Java j2re-1.4.1_01
Microsoft Java Virtual Machine Build 3805
.JavaInit() is failing at :
.C("s_start_VM", as.character(classPath), as.character(classPath),
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?
2005 Jan 05
3
omegahat link on R site (PR#7471)
Hello,
On the R web site on the page about R Data Import/Export, the link to
omegahat.org in the Introduction is misspelled.
Matthew Cserhati
2004 Mar 26
2
Omegahat down?
I was wondering the same thing.
The traceroute seems to end at their border router, which leads me to
believe that they has a hardware failure.
Hoping that they get it up in a few days.
I've checked around and there are a few mirrors but they all just hang, so I
guess we have to wait...
Mark Fowle
-------------------------------------------------------
Navicom Inc.
One Steelcase Road W