#linear-algebra #blas-lapack #build

sys r-src

The package provides a source of BLAS and LAPACK via R

1 unstable release

0.1.0 May 9, 2023

#1065 in Math

Download history 22/week @ 2024-03-11 22/week @ 2024-03-18 16/week @ 2024-03-25 37/week @ 2024-04-01 14/week @ 2024-04-08 38/week @ 2024-04-15 37/week @ 2024-04-22 16/week @ 2024-04-29 16/week @ 2024-05-06 12/week @ 2024-05-13 82/week @ 2024-05-20 107/week @ 2024-05-27 73/week @ 2024-06-03 20/week @ 2024-06-10 39/week @ 2024-06-17 55/week @ 2024-06-24

195 downloads per month
Used in 3 crates (2 directly)

MIT license

10KB
148 lines

r-src : A Source of BLAS and LAPACK via R

Github Actions Build Status Crates.io Documentation License: MIT

Note that only double precision routines are provided by R. The build script for this particular crate owes a lot to libR-sys of the extendr project, with sections lifted from there, in addition to new code.

Use of this package is explained here, specifically under the Sources section.

Installation

This library can be installed as usual. It can also built from source but has extra platform-specific dependencies for Windows such as msys2, typically provided by Rtools.

Configuration

Two components are required to build the library:

  1. R: It needs to be installed and available in the search path. On Windows, the Rtools binaries are also expected to be on the search path.
  2. Rust: It is recommended to install Rust using rustup; search path should include Rust binaries.

Once R and Rust are configured, the library can be easily built:

# macOS & Linux
cargo build

# Windows
cargo build --target x86_64-pc-windows-gnu

To test the build, run cargo test.

# macOS & Linux
cargo test

# Windows
cargo test --target x86_64-pc-windows-gnu

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.

No runtime deps