An R implementation of the INSPIRE algorithm is freely available as a CRAN package:

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.

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