Skip to contents

Requirements

  • Rust 1.66.0 or later (GNU version if on Windows)
  • R 4.0.0 or later (Windows requires 4.2+)

Since WebGestaltR v1.0.0, Rust is used for core computations in the R package. Therefore, to install WebGestaltR, please download and install Rust from https://www.rust-lang.org/tools/install. For Mac, Linux, or Unix users, Rust can be installed from the command line, and Windows users can download a GUI installer. If using Windows: please make sure to install the GNU version of Rust. This will be an option when you run the installer.

Restart your terminal after installing Rust to ensure the Rust compiler is available in your path. You can check that Rust is installed correctly by running rustc --version in your terminal.

After installing Rust, you can install WebGestaltR by running the following command in an R session:

# install.packages("devtools") # run if devtools not already installed
devtools::install_github("bzhanglab/WebGestaltR")

During installation, the Rust compiler will be called to build the computation library used by WebGestaltR. If you run into problems with installation of the new version, please open a new issue.