Skip to content

Local User Guide

JanionNevill edited this page Aug 27, 2024 · 11 revisions

Guide For Local Users of MetaInsight

This guide is designed to for users who wish to run MetaInsight on their own machine. We have attempted to provide step-by-step instructions, but users with no experience of using RStudio may find it helpful to follow a short tutorial such as those found in the first bullet point from RStudio Education.

Preparation

  1. Download and install R from CRAN. This must be version 4.0 or later.
  2. Download and install RStudio (free version).
  3. Download and install the latest version of JAGS (or JAGS if using a Mac).
  4. The MetaInsight app requires a number of R packages to run. Open RStudio and copy and paste the following code chunk into the console:
install.packages("remotes")
remotes::install_github("audrey-b/BUGSnet")

install.packages("bnma")
install.packages("BUGSnet")
install.packages("combinat")
install.packages("cookies")
install.packages("cowplot")
install.packages("data.table")
install.packages("data.tree")
install.packages("dplyr")
install.packages("future")
install.packages("jsonlite")
install.packages("knitr")
install.packages("gemtc")
install.packages("ggiraphExtra")
install.packages("ggplot2")
install.packages("ggrepel")
install.packages("glue")
install.packages("lubridate")
install.packages("magick")
install.packages("matrixcalc")
install.packages("MCMCvis")
install.packages("metafor")
install.packages("netmeta")
install.packages("patchwork")
install.packages("plotly")
install.packages("plotrix")
install.packages("plyr")
install.packages("promises")
install.packages("R.utils")
install.packages("R6")
install.packages("rio")
install.packages("shiny")
install.packages("shinyalert")
install.packages("shinyAce")
install.packages("shinyBS")
install.packages("shinycssloaders")
install.packages("shinydashboard")
install.packages("shinyjs")
install.packages("shinyWidgets")
install.packages("stringr")
install.packages("rmarkdown")
install.packages("tidyr")

It will take some time to install all the packages; while R is still working, a red ‘Stop’ symbol will appear within the console. Wait until this disappears before moving to the next step.

Launching the latest version directly from GitHub

  • Copy and paste this command into the console:
shiny::runGitHub('MetaInsight', 'CRSU-Apps')

MetaInsight should then open.

Launching from downloaded code

If launching directly from GitHub does not work, or you need to run MetaInsight when you do not have an internet connection, try the additional steps below.

  • Download the latest version of MetaInsight. Click on code -> Download ZIP to download all the files.
Download the zip archive from GitHub
  • Unzip the folder (likely automatically named ‘Metalnsight-main’). You can move or rename this file if you wish but do not change the file structure within this folder.
  • Open the folder as a project in RStudio.
  • Copy and paste this command into the console:
    shiny::runApp()
    

Last updated: July 2024 - Updates for meta regression.