Welcome to the StepRegShiny FAQ! This document addresses common questions about installation, usage, and troubleshooting. If you have a question that isn't covered here, please open an issue on GitHub.
A: We recommend using the pak package manager for the most reliable installation:
pak::pkg_install("StepRegShiny")
pak::pkg_install("JunhuiLi1017/StepRegShiny")
Alternative installation methods:
# From CRAN (if available)
install.packages("StepRegShiny")
# From GitHub
devtools::install_github("JunhuiLi1017/StepRegShiny")
Red Hat/CentOS/Fedora:
sudo yum install cairo-devel libwebp-devel ImageMagick-c++-devel ImageMagick-devel
# or for newer versions:
sudo dnf install cairo-devel libwebp-devel ImageMagick-c++-devel ImageMagick-devel
macOS:
# Install Homebrew if you haven't already
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install dependencies
brew install cairo imagemagick webp
# For X11 support (if needed)
brew install --cask xquartz
Windows: Most dependencies should be automatically handled, but if you encounter issues, try installing Rtools and ensure you have the latest version of R.
A: You have several options:
Local GUI Application:
r
library(StepRegShiny)
StepRegGUI()
Online Shiny Application: Visit the StepReg Shiny application in your web browser.
For StepReg package usage: Refer to the StepReg vignette for detailed examples.
A: Yes! You can use the online Shiny application directly in your web browser without any local installation.
A: Try these troubleshooting steps:
update.packages(ask = FALSE)A: Install XQuartz:
brew install --cask xquartz
Then restart your computer and try again.
A:
- Try the local GUI version: StepRegGUI()
- Close other browser tabs and applications
- Use a modern web browser (Chrome, Firefox, Safari, Edge)
- Check your internet connection if using the online version
A: - Documentation: Check the StepReg vignette - Issues: Report bugs or request features on GitHub Issues - Online Demo: Try the StepReg Shiny application
A: Please open an issue on GitHub with:
- Your operating system and R version
- The complete error message
- Steps to reproduce the problem
- Your session info: sessionInfo()
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.