Learn R Programming

XiMpLe

XiMpLe is a simple XML tree parser and generator for R.

It includes functions to read XML files into R objects, get information out of and into nodes, and write R objects back to XML code. It's not as powerful as the 'XML' package and doesn't aim to be, but for simple XML handling it could be useful.

It was originally developed for RKWard, a powerful GUI and IDE for R, to make plugin development easier. But it's a generic package and does not depend on RKWard in any way.

Installation

Installation via R

There's a stable version on CRAN, so you can install it the usual R way. A probably more recent development version can be found in RKWard's package repository:

install.packages("XiMpLe", repos="https://files.kde.org/rkward/R/")

There are also pre-built Debian/Ubuntu packages.

Installation via GitHub

To install it directly from GitHub, you can use install_github() from the devtools package:

devtools::install_github("rkward-community/XiMpLe") # stable release
devtools::install_github("rkward-community/XiMpLe", ref="develop") # development release

Contributing

To ask for help, report bugs, suggest feature improvements, or discuss the global development of the package, please use the issue tracker on GitHub.

Branches

Please note that all development happens in the develop branch. Pull requests against the master branch will be rejected, as it is reserved for the current stable release.

Licence

Copyright 2011-2024 Meik Michalke meik.michalke@hhu.de

XiMpLe is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

XiMpLe is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with XiMpLe. If not, see http://www.gnu.org/licenses/.

Copy Link

Version

Install

install.packages('XiMpLe')

Monthly Downloads

219

Version

0.11-3

License

GPL (>= 3)

Maintainer

Last Published

July 23rd, 2024

Functions in XiMpLe (0.11-3)

validXML

Validate S4 objects of XiMpLe XML classes
XMLNode

Constructor function for XiMpLe_node objects
pasteXMLTag

Write an XML tag
pasteXML

Paste methods for XiMpLe XML objects
XMLName

Getter/setter methods for S4 objects of XiMpLe XML classes
show,XiMpLe.XML-method

Show method for S4 objects of XiMpLe XML classes
provide_file

Manage static files in project directory
XiMpLe.validity,-class

Class XiMpLe.validity
node

Extract/manipulate a node or parts of it from an XML tree
XiMpLe-package

tools:::Rd_package_title("XiMpLe")
parseXMLTree

Read an XML file into an R object
gen_tag_functions

Function generator to simplify generation of XiMpLe_node objects
XMLgenerators

Generate XML generator functions from XiMpLe.validity object
XMLTree

Constructor function for XiMpLe.doc objects
XMLName,XiMpLe.node-method

Deprecated functions and methods
XiMpLe_node,-class

Classes XiMpLe_node and XiMpLe.node (old)
XiMpLe_doc,-class

Classes XiMpLe_doc and XiMpLe.doc (old)