Import XY-Data into R

Provides access to the 'xylib' C library for to import xy data from powder diffraction, spectroscopy and other experimental methods.


rxylib

The R package rxylib provides and access to the C++ library xylib by wrapping the library using Rcpp. For supported data formats see https://github.com/wojdyr/xylib.

CRAN Downloads R-CMD-check DOI CRANDOI codecov

Installation

i. Requirements

  • Windows (32/64bit): Rtools (provided by CRAN)
  • macOS: Xcode
  • Linux: gcc often comes pre-installed in most distributions.

ii. Install the package (development version)

To install the stable version from CRAN, simply run the following from an R console:

install.packages("rxylib")

To install the latest development builds directly from GitHub, run

if(!require("devtools"))
  install.packages("devtools")
devtools::install_github("R-Lum/rxylib@master")

To install a developer build other than 'master', replace the term 'master' in the code line by the name of the wanted developer build.

Related projects

Licenses

Please note that the package uses two different licences

Package rxylib license

This program 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 any later version.

This program 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.

Library xylib license

The library itself is NOT part of the GPL-3 license conditions of the package and available under LGPL license conditions only cf. https://github.com/wojdyr/xylib

Funding

  • Between 2017-2019, the work of Sebastian Kreutzer as maintainer of the package was supported by LabEx LaScArBx (ANR - n. ANR-10-LABX-52).

  • From 01/2020-04/2022, Sebastian Kreutzer received funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement No 844457 (project: CREDit).

  • Since 03/2023, Sebastian Kreutzer as maintainer of the package receives funding from the DFG Heisenberg programme No 505822867.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rxylib")

0.2.14 by Sebastian Kreutzer, 2 years ago


https://r-lum.github.io/rxylib/


Report a bug at https://github.com/R-Lum/rxylib/issues


Browse source code at https://github.com/cran/rxylib


Authors: Sebastian Kreutzer [aut, trl, cre] , Johannes Friedrich [aut] , RLum Team [ctb] , Marcin Wojdyr [cph] (C++ library 'xylib') , Peng Zhang [cph] (C++ library 'xylib')


Documentation:   PDF Manual  


GPL-3 | LGPL-2.1 license


Imports methods, Rcpp

Depends on utils

Suggests testthat

Linking to Rcpp, BH

System requirements: C++17


Imported by gamma.


See at CRAN