An advanced, interactive data table and data explorer for R, delivered as a modern, self-contained 'htmlwidget' with a high-performance virtualized grid. ViewR renders 'Kaggle'-style micro-dashboard column headers complete with data-type badges, mini distribution spark-histograms, and data-completeness (missingness) bars. It provides hover metadata cards, a sliding Data Insights drawer with interactive histograms and 'Pareto' category charts, a multi-condition visual query builder (AND/OR), a column visibility picker, and a reproducible code generator that emits 'dplyr', base R, and 'SQL' that matches the active filter and column state. The interface is implemented entirely in dependency-free vanilla 'JavaScript' (no 'React' or build toolchain) and works in the 'RStudio'/'Positron' Viewer, inside 'Shiny' apps, in 'R Markdown'/'Quarto', or as a portable standalone 'HTML' file. A single call to viewr() opens the explorer; the legacy 'Shiny'-gadget ViewR() editor remains available.
| Version: | 2.0.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | htmlwidgets (≥ 1.6.0), htmltools (≥ 0.5.4), jsonlite (≥ 1.8.0), shiny (≥ 1.7.0), DT (≥ 0.27), rhandsontable (≥ 0.3.8), shinyjs (≥ 2.1.0), shinythemes (≥ 1.2.0), stats, utils |
| Suggests: | haven, tibble, dplyr, knitr, rmarkdown, testthat (≥ 3.0.0), covr |
| Published: | 2026-06-03 |
| DOI: | 10.32614/CRAN.package.ViewR |
| Author: | Mahesh Divakaran [aut, cre] |
| Maintainer: | Mahesh Divakaran <imaheshdivakaran at gmail.com> |
| BugReports: | https://github.com/itsmdivakaran/viewR/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/itsmdivakaran/viewR, https://itsmdivakaran.github.io/viewR/ |
| NeedsCompilation: | no |
| Language: | en-GB |
| Citation: | ViewR citation info |
| Materials: | README, NEWS |
| CRAN checks: | ViewR results |
| Reference manual: | ViewR.html , ViewR.pdf |
| Vignettes: |
Getting Started with ViewR (source, R code) Get started with viewdt() (source, R code) |
| Package source: | ViewR_2.0.0.tar.gz |
| Windows binaries: | r-devel: ViewR_1.0.0.zip, r-release: ViewR_1.0.0.zip, r-oldrel: ViewR_1.0.0.zip |
| macOS binaries: | r-release (arm64): ViewR_1.0.0.tgz, r-oldrel (arm64): ViewR_1.0.0.tgz, r-release (x86_64): ViewR_1.0.0.tgz, r-oldrel (x86_64): ViewR_1.0.0.tgz |
| Old sources: | ViewR archive |
Please use the canonical form https://CRAN.R-project.org/package=ViewR to link to this page.