An R implementation of the INSPIRE algorithm is freely available as a CRAN package: https://cran.r-project.org/web/packages/INSPIRE/index.html

You can install INSPIRE package using the command install.packages('INSPIRE').

Below is an example of how to call INSPIRE in R after installing the package.

library(INSPIRE)
mcnt = 90 #module size
lambda = .1 #penalty parameter to induce sparsity
# download two real gene expression datasets in the package
data('two_example_datasets')
# the rows represent samples and columns represent genes in those datasets
# log-normalize, and standardize each dataset
res = INSPIRE(list(scale(log(exmp_dataset1)), scale(log(exmp_dataset2))), mcnt, lambda)