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 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


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


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.


Copyright 2011-2020 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/.