knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(WebGestaltR)

Requirements


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.

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("iblacksand/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.



bzhanglab/WebGestaltR documentation built on May 3, 2024, 12:19 a.m.