The goal of SticsRFiles is to perform manipulations of the
STICS model files either on XML files
(used by the JavaSTICS GUI) or on text files used by the model fortran
executable.
The basic functionalities allows to read parameters names and values through XML queries and replace parameters values in files. A starting guide is available on the Get started page.
Advanced functionalities are dedicated to produce XML parameter files using a mailing process like from XML templates and Excel sheets containing multiple simulations contexts. A JavaSTICS workspace is generated and directly usable from the JavaSTICS interface (GUI or command line), or with an R JavaSTICS interface provided by the SticsOnR package.
If you want to be notified when a new release of this package is made, you can tick the Releases box in the “Watch / Unwatch => Custom” menu at the top right of this page.
Some information about software requirements and operating system constraints are given in the
SticsOnRpackage documentation here.
Warning: If during the installation process, packages updates are suggested.
- First, abort the installation.
- Second, update the installed packages, except the
XMLpackage. - Finally, install the
SticsRFilespackage.
The best way to install the packages from SticsRPacks, from which
SticsRFiles is part of, is by installing the [SticsRPacks] package.
The package can be installed from GitHub using
the pak package:
pak::pak("SticsRPacks/SticsRPacks")The package will install the packages for you at the latest release version.
Direct installation from the CRAN or GitHub
- From the CRAN, using either base R or
pak
install.packages("SticsRFiles")
or
pak::pkg_install("SticsRFiles")- From GitHub
pak::pak("SticsRPacks/SticsRFiles@*release")Normally, all the package dependencies will be installed for CRAN packages.
-
A description of how to use the functions for manipulating XML input files is detailed here
-
A description of how to use the functions for manipulating text input files is available here.
-
A description of useful functions for generating XML input files from usms parameters data stored in Excel files sheets or CSV files is available here.
-
A description of functions for generating text input files from XML one of usms parameters is available here.
If you have any question or suggestion or if you want to report a bug, please do it via the GitHub issues.
Thanks for that, this would greatly help us to improve this package.
If you have used this package for a study that led to a publication or
report, please cite us. You can either use the citation tool from GitHub
if you used the last version, or use citation("SticsRFiles") from R
otherwise.
To cite ‘SticsRFiles’ in publications use :
Lecharpentier P, Vezy R, Buis S, Giner M, Flutre T, Rahier V (2026). _SticsRFiles: Read and Modify STICS
Input/Output Files_. R package version 1.7.2, https://doi.org/10.5281/zenodo.4443206,
.
A BibTeX entry for LaTeX users is
@Manual{,
title = {SticsRFiles: Read and Modify STICS Input/Output Files},
author = {Patrice Lecharpentier and Remi Vezy and Samuel Buis and Michel Giner and Timothee Flutre and Valentine Rahier},
year = {2026},
note = {R package version 1.7.2,
https://doi.org/10.5281/zenodo.4443206},
url = {https://github.com/SticsRPacks/SticsRFiles},
}
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
The package is under intensive development, so you can fill an issue or request us a feature here at any time.