launcher function

Create a launcher on the desktop for Windows (.bat), Mac (.command), or Linux (.sh)

Create a launcher on the desktop for Windows (.bat), Mac (.command), or Linux (.sh)

launcher( app = c("radiant", "radiant.data", "radiant.design", "radiant.basics", "radiant.model", "radiant.multivariate"), port = 4444, pdir = Sys.getenv("HOME") )

Arguments

  • app: App to run when the desktop icon is double-clicked ("analytics", "marketing", "quant", or "base"). Default is "analytics"
  • port: Port to use for shiny::runApp (e.g, port = 4444)
  • pdir: Project directory to use. Default is Sys.getenv("HOME")

Details

On Windows/Mac/Linux a file named radiant.bat/radiant.command/radiant.sh will be put on the desktop. Double-click the file to launch the specified Radiant app

Examples

## Not run: radiant::launcher("radiant.model") ## End(Not run)

See Also

win_launcher to create a shortcut on Windows

mac_launcher to create a shortcut on Mac

lin_launcher to create a shortcut on Linux

  • Maintainer: Vincent Nijs
  • License: AGPL-3 | file LICENSE
  • Last published: 2024-05-21