oxview is an R package that bundles the
office-open-xml-viewer
to provide preview functionality for .docx, .pptx, and .xlsx files
directly within the RStudio Viewer pane.
You can install the development version of oxview from
GitHub with:
# install.packages("remotes")
remotes::install_github("JanMarvin/oxview")
Or from r-universe with:
# Enable repository from janmarvin
options(repos = c(
janmarvin = 'https://janmarvin.r-universe.dev',
CRAN = 'https://cloud.r-project.org'))
# Download and install oxview in R
install.packages('oxview')
if (interactive()) {
oxview::ox_view(x = "https://github.com/JanMarvin/msoc/raw/refs/heads/main/inst/extdata/Untitled1.docx")
oxview::ox_view(x = "https://github.com/JanMarvin/msoc/raw/refs/heads/main/inst/extdata/Untitled1.pptx")
oxview::ox_view(x = "https://github.com/JanMarvin/msoc/raw/refs/heads/main/inst/extdata/Untitled1.xlsx")
}



This package is licensed under the MIT license and is based on
office-open-xml-viewer
(by Yuki Yokotani; COPYRIGHT 2026) released under the MIT license.