MyNixOS website logo
Description

Kriging Models using the 'libKriging' Library.

Interface to 'libKriging' 'C++' library <https://github.com/libKriging> that should provide most standard Kriging / Gaussian process regression features (like in 'DiceKriging', 'kergp' or 'RobustGaSP' packages). 'libKriging' relies on Armadillo linear algebra library (Apache 2 license) by Conrad Sanderson, 'lbfgsb_cpp' is a 'C++' port around 'lbfgsb' library (BSD-3 license) by Ciyou Zhu, Richard Byrd, Jorge Nocedal and Jose Luis Morales used for hyperparameters optimization, and HDF5 features coming from HDF Group (see HDF5_LICENSE file) possibly provided by Rhdf5lib by Mike Smith (Artistic-2.0 license).

This repository is just a wrapper to emulate a "standard" R package from https://github.com/libKriging/bindings/R/rlibkriging content, so you can install it just using:

install.packages('devtools')
devtools::install_github("libKriging/rlibkriging")

The stable version is available from CRAN Downloads(monthly) :

install.packages('rlibkriging')

Requirements

  • c++, cmake and gfortran, should be installed using:
    • Linux/OSX: brew/apt/yum/... install cpp cmake gfortran
    • Windows: install Rtools (see https://cran.r-project.org/bin/windows/Rtools/) Note:
      • R>=4.2 & Rtools>=42 are required for this 'devtools::install_github'
      • for older R/Rtools, refer to manual install: https://github.com/libKriging/libKriging#compilation-for-linuxmacwindows-using-r-toolchain
  • HDF5, should be installed using:
    • R (recommended) thanks to Rhdf5lib: install.packages("BiocManager"); BiocManager::install("Rhdf5lib")
    • or directly with system install:
      • OSX: brew install hdf5
      • Linux with apt (Debian/Ubuntu/...): apt install libhdf5-dev
      • Linux with yum (RedHat/CentOS/...): yum install hdf5-devel
      • Windows: HDF5 pre-compiled, available at https://github.com/mannau/h5-libwin.

Note: this repository mainly contains modified Makefiles, inspired by https://github.com/astamm/nloptr wrapper.

CRAN

When submitting to CRAN, ./tools/setup.sh should be run before R CMD build rlibkriging to fit CRAN policy.

Metadata

Version

0.8-0.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows