Re: [R] XML - can create but can't save

2007-03-20 Thread Alberto Monteiro
I wrote:
 
 library(XML)
 tt - xmlHashTree()
 head - addNode(xmlNode(head), character(), tt)
 test - addNode(xmlNode(test, attrs=c(pi=4)), head, tt)
 tt # ok
 saveXML(tt, file=test.xml) # error
 
I found a way to circumvent this error, by replacing the saveXML
line with:

sink(test.xml)
print(tt)
sink()

Alberto Monteiro

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] XML - can create but can't save

2007-03-20 Thread Duncan Temple Lang

Just for the record,  the method has been added for that particular
type of tree. So the original

  saveXML(tt, file = test.xml)

will work.

Thanks for pointing it out.

 D.



Alberto Monteiro wrote:
 I wrote:
 library(XML)
 tt - xmlHashTree()
 head - addNode(xmlNode(head), character(), tt)
 test - addNode(xmlNode(test, attrs=c(pi=4)), head, tt)
 tt # ok
 saveXML(tt, file=test.xml) # error

 I found a way to circumvent this error, by replacing the saveXML
 line with:
 
 sink(test.xml)
 print(tt)
 sink()
 
 Alberto Monteiro
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] XML - can create but can't save

2007-03-20 Thread Alberto Vieira Ferreira Monteiro
Duncan Temple Lang wrote:

 Just for the record,  the method has been added for that particular
 type of tree. So the original

   saveXML(tt, file = test.xml)

 will work.

Ah, the wonders of free software... I didn't have to wait a single day
to have the bug fixed :-)

Alberto Monteiro

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] XML and str

2007-02-10 Thread Duncan Temple Lang


Martin Maechler wrote:
 Ashley == Ashley Ford [EMAIL PROTECTED]
 on Wed, 07 Feb 2007 17:18:56 + writes:
 
 Ashley If I read in an .xml file eg with 
 
  xeg - xmlTreeParse(system.file(exampleData, test.xml,
package=XML))
 
 Ashley It appears to be OK however examining it with str() gives an 
 apparent
 Ashley error
 
  str(xeg, 2)
 Ashley List of 2
 Ashley $ doc:List of 3
 Ashley ..$ file: list()
 Ashley .. ..- attr(*, class)= chr [1:2] XMLComment XMLNode
 Ashley ..$ version :List of 4
 Ashley .. ..- attr(*, class)= chr XMLNode
 Ashley ..$ children:Error in obj$children[[...]] : subscript out of 
 bounds
 
 Ashley I am unsure if this is a feature or a bug and if the latter 
 whether it
 Ashley is in XML or str, it is not causing a problem but I would like to
 Ashley understand what is happening, any ideas ?
 
 Yes -  thank you for providing a well-reproducible example.
 After setting  
   options(error = recover)
 
 I do
 
 obj - xeg$doc
 mode(obj) # list
[1] list
 is.list(obj)  # TRUE
[1] TRUE
 length(obj)   # 3
[1] 3
 obj[[3]]  # --- the error you see above.
Error in obj$children[[...]] : subscript out of bounds
 
Enter a frame number, or 0 to exit   
 
1: obj[[3]]
2: `[[.XMLDocumentContent`(obj, 3)
 
Selection: 0
 
 obj$children  # works, should be identical to obj[[3]]
$comment
!--A comment--
 
$foo
foo x=1
 element attrib1=my value/
..
 
 This shows that the XML package implements the [[ method
 wrongly IMHO and also inconsistently with the $ method.
 
From a strict OOP view, the XML author could argue that
 this is not a bug in XML but rather str() which assumes that
 x[[length(x)]] works for objects of mode list even when they
 are not of *class* list, but I hope he would still rather
 consider changing [[.XMLDocumentContent ...
 


More likely, the appropriate fix is to have
length() return the relevant value.
I even recall considering this at the time of writing
the package initially.  But that was back in 1999/2000
and S4 and R/S-Plus compatibility were not what they
are now.  It could be changed.  Not certain when I will
get a chance.

 D.


 Martin
 
 Ashley examining components eg 
  str(xeg$doc$children,2)
 
 Ashley List of 2
 Ashley $ comment: list()
 Ashley ..- attr(*, class)= chr [1:2] XMLComment XMLNode
 Ashley etc 
 
 Ashley is OK.
 
 Ashley XML Version 1.4-1, 
 Ashley same behaviour on Windows and Linux, R version 2.4.1 (2006-12-18)
 
 
 
 
 Ashley The information contained in this E-Mail and any subsequent
 Ashley correspondence is private and is intended solely for the intended
 Ashley recipient(s).  The information in this communication may be 
 confidential
 Ashley and/or legally privileged.  Nothing in this e-mail is intended to
 Ashley conclude a contract on behalf of QinetiQ or make QinetiQ subject 
 to any
 Ashley other legally binding commitments, unless the e-mail contains an 
 express
 Ashley statement to the contrary or incorporates a formal Purchase Order.
 
 Ashley For those other than the recipient any disclosure, copying,
 Ashley distribution, or any action taken or omitted to be taken in 
 reliance on
 Ashley such information is prohibited and may be unlawful.
 
 Ashley Emails and other electronic communication with QinetiQ may be 
 monitored
 Ashley and recorded for business purposes including security, audit and
 Ashley archival purposes.  Any response to this email indicates consent 
 to
 Ashley this.
 
 Ashley Telephone calls to QinetiQ may be monitored or recorded for 
 quality
 Ashley control, security and other business purposes.
 
 Ashley QinetiQ Group plc,
 
 Ashley Company Registration No: 4586941,  
 
 Ashley Registered office: 85 Buckingham Gate, London SW1E 6PD
 
 Ashley __
 Ashley R-help@stat.math.ethz.ch mailing list
 Ashley https://stat.ethz.ch/mailman/listinfo/r-help
 Ashley PLEASE do read the posting guide 
 http://www.R-project.org/posting-guide.html
 Ashley and provide commented, minimal, self-contained, reproducible code.
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] XML and str

2007-02-10 Thread Martin Maechler
 DTL == Duncan Temple Lang [EMAIL PROTECTED]
 on Sat, 10 Feb 2007 07:18:30 -0800 writes:

DTL Martin Maechler wrote:
 Ashley == Ashley Ford [EMAIL PROTECTED]
 on Wed, 07 Feb 2007 17:18:56 + writes:
 
Ashley If I read in an .xml file eg with 
 
  xeg - xmlTreeParse(system.file(exampleData, test.xml,
 package=XML))
 
Ashley It appears to be OK however examining it with str() gives an 
apparent
Ashley error
 
  str(xeg, 2)
Ashley List of 2
Ashley $ doc:List of 3
Ashley ..$ file: list()
Ashley .. ..- attr(*, class)= chr [1:2] XMLComment XMLNode
Ashley ..$ version :List of 4
Ashley .. ..- attr(*, class)= chr XMLNode
Ashley ..$ children:Error in obj$children[[...]] : subscript out of bounds
 
Ashley I am unsure if this is a feature or a bug and if the latter whether 
it
Ashley is in XML or str, it is not causing a problem but I would like to
Ashley understand what is happening, any ideas ?
 
 Yes -  thank you for providing a well-reproducible example.
 After setting  
 options(error = recover)
 
 I do
 
  obj - xeg$doc
  mode(obj) # list
 [1] list
  is.list(obj)  # TRUE
 [1] TRUE
  length(obj)   # 3
 [1] 3
  obj[[3]]  # --- the error you see above.
 Error in obj$children[[...]] : subscript out of bounds
 
 Enter a frame number, or 0 to exit   
 
 1: obj[[3]]
 2: `[[.XMLDocumentContent`(obj, 3)
 
 Selection: 0
 
  obj$children  # works, should be identical to obj[[3]]
 $comment
 !--A comment--
 
 $foo
 foo x=1
 element attrib1=my value/
 ..
 
 This shows that the XML package implements the [[ method
 wrongly IMHO and also inconsistently with the $ method.
 
 From a strict OOP view, the XML author could argue that
 this is not a bug in XML but rather str() which assumes that
 x[[length(x)]] works for objects of mode list even when they
 are not of *class* list, but I hope he would still rather
 consider changing [[.XMLDocumentContent ...
 


DTL More likely, the appropriate fix is to have
DTL length() return the relevant value.

Hmm. 

   library(XML)
   xeg - xmlTreeParse(system.file(exampleData, test.xml, package= XML))
   obj - xeg$doc
   mode(obj) # list
  [1] list
   is.list(obj)  # TRUE
  [1] TRUE
   length(obj)   # 3
  [1] 3
   obj[[3]]  # --- the error you see above.
  Error in obj$children[[...]] : subscript out of bounds
   names(obj)
  [1] file version  children
   class(obj)
  [1] XMLDocumentContent
   methods(class=class(obj))
  [1] xmlApply.XMLDocumentContent*  [[.XMLDocumentContent*   
  [3] xmlRoot.XMLDocumentContent*   xmlSApply.XMLDocumentContent*

   XML:::`[[.XMLDocumentContent`
  function (obj, ...) 
  {
  obj$children[[...]]
  }
  environment: namespace:XML

so  length(obj) is 3 and obj is a simple S3 object
which is just a list with 3 named components,
Do you really want to define  length(.) to also return the
length of obj$children instead of the length() of the list
itself?   
With that you'd have your XMLDocumentContent objects ``look''
like lists with three named components on one hand
(and help(xmlTreeParse) does mention these components)
but behave in other contexts as if it was just its own component
'obj$children'.   Of course you then should also define 
  print.XMLDocumentContent() and
  str.XMLDocumentContent()   accordingly, 
so users would barely know about the file and version
component of 'obj'.
But is this really desirable ?
With the above [[.XMLDoc...  you break the basic S-language
premise of  [[ and $ to behave accordingly.

You could solve everything elegantly if you used S4 instead of S3
classes, since there's no defined correspondence between slot
access and [[ (and yes, then (with S4), I'd agree that 

setMethod(length, XMLDocumentContent, 
  function(x) length([EMAIL PROTECTED]))

would be needed too -- and fine.

Martin

DTL I even recall considering this at the time of writing
DTL the package initially.  But that was back in 1999/2000
DTL and S4 and R/S-Plus compatibility were not what they
DTL are now.  It could be changed.  Not certain when I will
DTL get a chance.


Ashley examining components eg 
  str(xeg$doc$children,2)
 
Ashley List of 2
Ashley $ comment: list()
Ashley ..- attr(*, class)= chr [1:2] XMLComment XMLNode
Ashley etc 
 
Ashley is OK.
 
Ashley XML Version 1.4-1, 
Ashley same behaviour on Windows and Linux, R version 2.4.1 (2006-12-18)


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] XML and str

2007-02-07 Thread Martin Maechler
 Ashley == Ashley Ford [EMAIL PROTECTED]
 on Wed, 07 Feb 2007 17:18:56 + writes:

Ashley If I read in an .xml file eg with 

 xeg - xmlTreeParse(system.file(exampleData, test.xml,
   package=XML))

Ashley It appears to be OK however examining it with str() gives an 
apparent
Ashley error

 str(xeg, 2)
Ashley List of 2
Ashley $ doc:List of 3
Ashley ..$ file: list()
Ashley .. ..- attr(*, class)= chr [1:2] XMLComment XMLNode
Ashley ..$ version :List of 4
Ashley .. ..- attr(*, class)= chr XMLNode
Ashley ..$ children:Error in obj$children[[...]] : subscript out of bounds

Ashley I am unsure if this is a feature or a bug and if the latter whether 
it
Ashley is in XML or str, it is not causing a problem but I would like to
Ashley understand what is happening, any ideas ?

Yes -  thank you for providing a well-reproducible example.
After setting  
  options(error = recover)

I do

obj - xeg$doc
mode(obj) # list
   [1] list
is.list(obj)  # TRUE
   [1] TRUE
length(obj)   # 3
   [1] 3
obj[[3]]  # --- the error you see above.
   Error in obj$children[[...]] : subscript out of bounds

   Enter a frame number, or 0 to exit   

   1: obj[[3]]
   2: `[[.XMLDocumentContent`(obj, 3)

   Selection: 0

obj$children  # works, should be identical to obj[[3]]
   $comment
   !--A comment--

   $foo
   foo x=1
element attrib1=my value/
   ..

This shows that the XML package implements the [[ method
wrongly IMHO and also inconsistently with the $ method.

From a strict OOP view, the XML author could argue that
this is not a bug in XML but rather str() which assumes that
x[[length(x)]] works for objects of mode list even when they
are not of *class* list, but I hope he would still rather
consider changing [[.XMLDocumentContent ...

Martin

Ashley examining components eg 
 str(xeg$doc$children,2)

Ashley List of 2
Ashley $ comment: list()
Ashley ..- attr(*, class)= chr [1:2] XMLComment XMLNode
Ashley etc 

Ashley is OK.

Ashley XML Version 1.4-1, 
Ashley same behaviour on Windows and Linux, R version 2.4.1 (2006-12-18)




Ashley The information contained in this E-Mail and any subsequent
Ashley correspondence is private and is intended solely for the intended
Ashley recipient(s).  The information in this communication may be 
confidential
Ashley and/or legally privileged.  Nothing in this e-mail is intended to
Ashley conclude a contract on behalf of QinetiQ or make QinetiQ subject to 
any
Ashley other legally binding commitments, unless the e-mail contains an 
express
Ashley statement to the contrary or incorporates a formal Purchase Order.

Ashley For those other than the recipient any disclosure, copying,
Ashley distribution, or any action taken or omitted to be taken in 
reliance on
Ashley such information is prohibited and may be unlawful.

Ashley Emails and other electronic communication with QinetiQ may be 
monitored
Ashley and recorded for business purposes including security, audit and
Ashley archival purposes.  Any response to this email indicates consent to
Ashley this.

Ashley Telephone calls to QinetiQ may be monitored or recorded for quality
Ashley control, security and other business purposes.

Ashley QinetiQ Group plc,

Ashley Company Registration No: 4586941,  

Ashley Registered office: 85 Buckingham Gate, London SW1E 6PD

Ashley __
Ashley R-help@stat.math.ethz.ch mailing list
Ashley https://stat.ethz.ch/mailman/listinfo/r-help
Ashley PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
Ashley and provide commented, minimal, self-contained, reproducible code.

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] XML to data frame or list

2005-03-13 Thread bogdan romocea
I managed to parse more complex XML files as well. The trick was to
manually determine the position of the child nodes of interest, after
which they can be parsed in a loop. For example:

require(XML)
doc - xmlTreeParse(file.xml,getDTD=T,addAttributeNamespaces=T)
r - xmlRoot(doc)

#find the nodes of interest
r[[i]][[j]]

#then read them
xmldata - list(NULL)
for (i in 1:xmlSize(r[[2]][[1]])) {
  xmldata[[i]] - as.data.frame(xmlSApply(r[[2]][[1]][[i]],xmlValue))
  }


--- Barry Rowlingson [EMAIL PROTECTED] wrote:
 Gabor Grothendieck wrote:
 
 
  You could check out the ctv package that was recently announced.
  It uses XML so its source would provide an example.
 
  If its a one-time operation, Excel reads XML and you could then
  use one of the many Excel to R possibilities.
 
   For an xml file like this:
 
 ?xml version=1.0?
 variables
 a100/a
 b23/b
 z666/z
 /variables
 
 its a one-liner with the XML package (library(XML)):
 
 xmlReadSimple -
 function(xmlFile){
as.list(xmlSApply(xmlRoot(xmlTreeParse(xmlFile)),xmlValue))
 }
 
 add an lapply(...,as.numeric) for conversion to numbers.
 
   sweet.
 
 Baz
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide!
 http://www.R-project.org/posting-guide.html
   
 
 __
 Do You Yahoo!?

 http://mail.yahoo.com 


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] XML to data frame or list

2005-03-11 Thread Gabor Grothendieck
bogdan romocea br44114 at yahoo.com writes:

: 
: Dear useRs,
: 
: I have a simple/RTFM question about XML parsing. Given an XML file,
: such as (fragment)
: A100/A
: B23/B
: Ctrue/C
: how do I import it in a data frame or list, so that the values (100,
: 23, true) can be accessed through the names A, B and C?
: 
: I installed the XML package and looked over the documentation...
: however after 20 minutes and a couple of tests I still don't know what
: I should start with. 
: 
: Can someone provide an example or point me to the appropriate
: function(s)?
: 

You could check out the ctv package that was recently announced.
It uses XML so its source would provide an example.

If its a one-time operation, Excel reads XML and you could then
use one of the many Excel to R possibilities.

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] XML to data frame or list

2005-03-11 Thread Barry Rowlingson
Gabor Grothendieck wrote:
You could check out the ctv package that was recently announced.
It uses XML so its source would provide an example.
If its a one-time operation, Excel reads XML and you could then
use one of the many Excel to R possibilities.
 For an xml file like this:
?xml version=1.0?
variables
a100/a
b23/b
z666/z
/variables
its a one-liner with the XML package (library(XML)):
xmlReadSimple -
function(xmlFile){
  as.list(xmlSApply(xmlRoot(xmlTreeParse(xmlFile)),xmlValue))
}
add an lapply(...,as.numeric) for conversion to numbers.
 sweet.
Baz
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] XML

2005-01-14 Thread Marc Schwartz
On Fri, 2005-01-14 at 15:52 -0600, Shawn Way wrote:
   I thought I would take a look at the StatDataML package for some work
 I'm doing, but I receive the following error when starting:
 
  version
  _  
 platform i386-pc-mingw32
 arch i386   
 os   mingw32
 system   i386, mingw32  
 status  
 major2  
 minor0.1
 year 2004   
 month11 
 day  15 
 language R  
  library(StatDataML)
 Loading required package: XML 
 Error: package 'XML' could not be loaded
 In addition: Warning message: 
 There is no package called 'XML' in: library(pkg, character.only = TRUE,
 logical = TRUE, lib.loc = lib.loc) 
  
 
 
 Realizing that I don't have the Package XML, I've tried to download it,
 and I cannot find the file.  Can anyone point me in the right direction,
 or at lease upload it to CRAN?
 
 Thanks...

The Windows ZIP file for package XML is available here:

http://www.stats.ox.ac.uk/pub/RWin/2.0.0/

thanks to Prof. Ripley.

The current build report for the Windows packages indicates that this is
one of the packages that will not build out of the box.

The Windows build report is here:

http://cran.us.r-project.org/bin/windows/contrib/checkSummaryWin.html

and the README file that covers this issue is here:

http://cran.us.r-project.org/bin/windows/contrib/2.0/ReadMe

HTH,

Marc Schwartz

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


RE: [R] XML

2005-01-14 Thread dr mike
This cropped up in a previous posting here (Monday this week, in fact),
responded to by Prof. Ripley. It also cropped up on the Bioconductor mailing
list before Christmas, in relation to the AnnBuilder package. For those who
have reposTools installed, the solution provided by John Zhang was, from the
command line enter:

library(reposTools)
install.pacakges2(XML)

Regards,

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Schwartz
Sent: 14 January 2005 22:13
To: Shawn Way
Cc: R-Help
Subject: Re: [R] XML

On Fri, 2005-01-14 at 15:52 -0600, Shawn Way wrote:
   I thought I would take a look at the StatDataML package for some 
 work I'm doing, but I receive the following error when starting:
 
  version
  _  
 platform i386-pc-mingw32
 arch i386   
 os   mingw32
 system   i386, mingw32  
 status  
 major2  
 minor0.1
 year 2004   
 month11 
 day  15 
 language R  
  library(StatDataML)
 Loading required package: XML
 Error: package 'XML' could not be loaded In addition: Warning message:
 There is no package called 'XML' in: library(pkg, character.only = 
 TRUE, logical = TRUE, lib.loc = lib.loc)
  
 
 
 Realizing that I don't have the Package XML, I've tried to download 
 it, and I cannot find the file.  Can anyone point me in the right 
 direction, or at lease upload it to CRAN?
 
 Thanks...

The Windows ZIP file for package XML is available here:

http://www.stats.ox.ac.uk/pub/RWin/2.0.0/

thanks to Prof. Ripley.

The current build report for the Windows packages indicates that this is one
of the packages that will not build out of the box.

The Windows build report is here:

http://cran.us.r-project.org/bin/windows/contrib/checkSummaryWin.html

and the README file that covers this issue is here:

http://cran.us.r-project.org/bin/windows/contrib/2.0/ReadMe

HTH,

Marc Schwartz

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] XML package

2003-11-06 Thread Dirk Eddelbuettel
On Fri, Nov 07, 2003 at 02:58:38AM +, Sen-Lin Tang wrote:
 Dear Sir/Madam,
 
 I have tried to install biocoductor package. During the installation, there 
 was an error message showing, there is no XML package available and 
 suggested me to download from the R-project website. Unfortunately I could 
 not find it. Could you give me a hand? Thanks a lot.

Try this for the source package:

http://cran.au.r-project.org/src/contrib/XML_0.95-4.tar.gz

where I substituted .au. for the .us. location I'd use. Binary packages are
in the sibbling directories. 

If you happen to run Debian, thanks to Rafael's packaging work on this:

$ apt-get install r-cran-xml

Hth, Dirk

-- 
Those are my principles, and if you don't like them... well, I have others.
-- Groucho Marx

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


Re: [R] XML Package.

2003-07-10 Thread Stephen C. Upton
Eryk,

If you go here on the CRAN, you should be able to find an XML.zip

 /pub/languages/R/CRAN/bin/windows/contrib

HTH
steve
Wolski wrote:

Hi!
I have installed the new R on windows.
I wanted to reinstall the XML package. I am not able to find the XML.zip anymore. I am 
quite shure that they where a windows binary version.
Has anyone old XML windows binary?
Eryk
Dipl. bio-chem. Eryk Witold Wolski@MPI-MG Dep. Vertebrate Genomics
Ihnestrasse 73 14195 Berlin  'v'
tel: 0049-30-84131285   /   \
mail: [EMAIL PROTECTED]---W-W
	[[alternative HTML version deleted]]

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
 

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


Re: [R] XML Package.

2003-07-10 Thread Duncan Temple Lang

Brian Ripley has kindly compiled the package for Windows and 
has made it available at 

  http://www.stats.ox.ac.uk/pub/RWin

along with selected other packages.

  D.

Wolski wrote:
 Hi!
 I have installed the new R on windows.
 I wanted to reinstall the XML package. I am not able to find the XML.zip anymore. I 
 am quite shure that they where a windows binary version.
 Has anyone old XML windows binary?
 Eryk
 
 Dipl. bio-chem. Eryk Witold Wolski@MPI-MG Dep. Vertebrate Genomics
 Ihnestrasse 73 14195 Berlin  'v'
 tel: 0049-30-84131285   /   \
 mail: [EMAIL PROTECTED]---W-W
 
 
   [[alternative HTML version deleted]]
 
 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help

-- 
___

Duncan Temple Lang[EMAIL PROTECTED]
Bell Labs, Lucent Technologiesoffice: (908)582-3217
700 Mountain Avenue, Room 2C-259  fax:(908)582-3340
Murray Hill, NJ  07974-2070   
 http://cm.bell-labs.com/stat/duncan

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


Re: [R] XML Package.

2003-07-10 Thread Uwe Ligges
Stephen C. Upton wrote:

Eryk,

If you go here on the CRAN, you should be able to find an XML.zip

 /pub/languages/R/CRAN/bin/windows/contrib
a) That directory is of your local CRAN mirror, please use soemthing 
like CRAN/bin/windows/contrib as a mirror-independent way to specify 
the location.

b) That locations contains only binary versions for R  1.7.0, so it is 
*not appropriate* for a recent installation.
For R-1.7.x, CRAN/bin/windows/contrib/1.7 is the right place to look into.

c) Everything is clear when reading the ReadMe which points out the 
answer Duncan Temple Lang already has given:

The packages
  SJava, XML, netCDF, and xgobi
are available at
  http://www.stats.ox.ac.uk/pub/RWin
kindly provided by Professor Brian D. Ripley.
These packages are not available from CRAN, because they don't compile 
out of the box with my automated scripts on my machine.

Uwe Ligges




HTH
steve
Wolski wrote:

Hi!
I have installed the new R on windows.
I wanted to reinstall the XML package. I am not able to find the 
XML.zip anymore. I am quite shure that they where a windows binary 
version.
Has anyone old XML windows binary?
Eryk

Dipl. bio-chem. Eryk Witold Wolski@MPI-MG Dep. Vertebrate 
Genomics
Ihnestrasse 73 14195 Berlin  'v'
tel: 0049-30-84131285   /   \
mail: [EMAIL PROTECTED]---W-W

[[alternative HTML version deleted]]

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
 

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


Re: [R] XML package for R

2003-06-09 Thread Dr Mushtaq Ahmed
thanks :)

-mushtaq

- Original Message - 
From: Prof Brian Ripley [EMAIL PROTECTED]
To: Dr Mushtaq Ahmed [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 12:44 PM
Subject: Re: [R] XML package for R


 See the ReadMe in the appropriate area on CRAN (XML is also a CRAN
 packages).

 http://cran.r-project.org/bin/windows/contrib/1.7/ReadMe

 which points you to  http://www.stats.ox.ac.uk/pub/RWin


 On Mon, 9 Jun 2003, Dr Mushtaq Ahmed wrote:

  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.

 You could always compile it yourself!

 -- 
 Brian D. Ripley,  [EMAIL PROTECTED]
 Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
 University of Oxford, Tel:  +44 1865 272861 (self)
 1 South Parks Road, +44 1865 272866 (PA)
 Oxford OX1 3TG, UKFax:  +44 1865 272595


__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help