README.md

iNZight Lite

This is the online version of iNZight (http://lite.docker.stat.auckland.ac.nz)

To run locally:

With Docker

  1. Ensure that Docker is installed and running
  2. Either pull the image from dockerhub, or within the root lite directory, run make build TAG=latest to build the latest image
  3. In the root lite directory, run make run TAG=latest to run on localhost at port 3838

Directly

iNZight Lite is a shiny app, so you can run it locally if you have R installed. If you use RStudio, see instructions further down.

  1. Download and unzip or clone this repository

Note: if you use Git to clone the repository, you can easily keep Lite updated via git pull

  1. Open R and set the working directory to the Lite folder
setwd("/path/to/Lite")
  1. Install the devtools R package (if you don't already have it):
install.packages("devtools")
  1. Install package dependencies (NOTE: we host iNZight packages on our own server, see below)
devtools::install_deps(repos = c("http://r.docker.stat.auckland.ac.nz/R",
                                 "https://cloud.r-project.org/"))
  1. Run the iNZight Lite app!
shiny::runApp()

RStudio users:

  1. If you have git installed: in RStudio > File > New Project > Version Control > Git

  2. For the URL, enter: https://github.com/iNZightVIT/Lite.git

  3. And choose a location to save the app
  4. Then Create Project

If you don't have git:

install.packages("devtools")  ## skip if you know you already have devtools
devtools::install_deps(repos = c("http://r.docker.stat.auckland.ac.nz/R",
                                 "https://cloud.r-project.org/"))
  1. To run iNZight Lite, open the ui.R file and click the Run App button at the top.

Send bug reports/errors to inzightlite_support@stat.auckland.ac.nz.

Directories:

Main files:

iNZight-lite URL feature

Some GET parameters can be added to the URL to access iNZight-lite. In the moment the following are implemented.



iNZightVIT/Lite documentation built on April 13, 2024, 8:03 p.m.