Provides access to the 'xylib' C library for to import xy data from powder diffraction, spectroscopy and other experimental methods.
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.
Windows (32/64bit) - ‘Rtools’ (provided by CRAN)
https://cran.r-project.org/bin/windows/Rtools/
MacOSX and macOS - ‘Xcode’ (provided by Apple)
https://developer.apple.com/xcode/downloads/
For Linux users gcc often comes pre-installed in most distributions. Should gcc be not available, however, we kindly refer to the exhaustive collection of installation guides depending on the linux distribution.
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/[email protected]")
To install a developer build other than ‘master’, replace the term ‘master’ in the codeline by the name of the wanted developer build.
Please note that the package uses two different licences
rxylib licenseThis 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.
xylib licenseThe 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
C++ 1998 does not support 'long long' error on R-devel for Windowsplot and printget_version to return the 'xylib' version number