View source: R/install_spm12.R
install_spm12 | R Documentation |
Install spm12 scripts to spm12r for script capabilities
install_spm12(lib.loc = NULL, verbose = TRUE, install_dir = NULL)
lib.loc |
a character vector with path names of R libraries.
Passed to |
verbose |
print diagnostic messages |
install_dir |
Alternative directory to download SPM12 |
tdir = tempfile() dir.create(tdir) in_ci <- function() { nzchar(Sys.getenv("CI")) } if (matlabr::have_matlab()) { if (.Platform$OS.type == "unix" | in_ci()) { # windows problem res = try({install_spm12(install_dir = tdir)}) res = try({install_spm12(install_dir = tdir)}) } }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.