I invested some time into learning R and would prefer not to learn Python or Ruby just for convenience of parsing XML.
I am not a pro R programmer so I need a higher level library then XML package of R. getNodeSet and XPath is very hard to use.
I invested some time into learning R and would prefer not to learn Python or Ruby just for convenience of parsing XML.
I am not a pro R programmer so I need a higher level library then XML package of R. getNodeSet and XPath is very hard to use.
raygozak answered the first part of your question: Bioconductor is the nearest equivalent for R of the Bio* libraries. Unfortunately, it does not include a package to handle EUtils queries.
I appreciate your difficulties when using R to parse XML; compared with other languages it is not very intuitive and the documentation is poor (lots of it but rather technical). However, I think you may just have to bite the bullet and get to grips with the R XML library. There are a few good tutorials and blog posts around on the Web (see comments under your question).
There are also some good examples in Chapter 8 of the book Bioinformatics and computational biology solutions using R and Bioconductor, some of which you can read at Google Books.
There are at least four packages (I haven't tried any of them) I found on crantastic.org:
As for biophyton and bioperl counterpart in R you can use Bioconductor, however it may not have all the functionality you find in those libraries, and bioconductor is the project, you would need to search in biconductor's website for specific packages.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Try searching for "ncbi eutils" on RSeek: http://www.rseek.org – there seem to be a few useful hits.
If you just want to use the "XML" library and shake the tree by hand, check out my most recent blog post.
You could find at least dome resources here.
rseek.org is also a good resource
@jeremy: nice. I never got nice info on NodeSet class. pasting your code here:
Hi User - I'd be interested to know exactly what you'd like to do with the EUtils api. I have (some R code)['https://github.com/dwinter/rentrez'] for this stuff, and we are discussing possible developments to it ('http://groups.google.com/forum/#!topic/ropensci-discuss/bETWlEcrS4s')
Hi User56 - I'd be interested to know exactly what you'd like to do with the EUtils api. I have some R code for this stuff, and we are discussing possible developments to it here