Type: Package
Title: Business Analytics using R and Shiny
Version: 1.6.6
Date: 2024-5-20
Description: A platform-independent browser-based interface for business analytics in R, based on the shiny package. The application combines the functionality of 'radiant.data', 'radiant.design', 'radiant.basics', 'radiant.model', and 'radiant.multivariate'.
Depends: R (≥ 4.3.0), radiant.data (≥ 1.6.6), radiant.design (≥ 1.6.6), radiant.basics (≥ 1.6.6), radiant.model (≥ 1.6.6), radiant.multivariate (≥ 1.6.6)
Imports: shiny (≥ 1.8.1), import (≥ 1.1.0)
Suggests: testthat (≥ 2.0.0), knitr, rmarkdown, markdown (≥ 1.3)
URL: https://github.com/radiant-rstats/radiant
BugReports: https://github.com/radiant-rstats/radiant/issues
License: AGPL-3 | file LICENSE
Encoding: UTF-8
RoxygenNote: 7.3.1
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2024-05-21 04:50:00 UTC; vnijs
Author: Vincent Nijs [aut, cre]
Maintainer: Vincent Nijs <radiant@rady.ucsd.edu>
Repository: CRAN
Date/Publication: 2024-05-21 05:00:02 UTC

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

Description

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

Usage

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

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

Examples

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

## End(Not run)


Create a launcher and updater for Linux (.sh)

Description

Create a launcher and updater for Linux (.sh)

Usage

lin_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 ("radiant", "radiant.data", etc.). Default is "radiant"

port

Port to use for shiny::runApp (e.g, port = 4444)

pdir

Project directory to use. Default is Sys.getenv("HOME")

Details

On Linux a file named 'radiant.sh' and one named 'update_radiant.sh' will be put on the desktop. Double-click the file to launch the specified Radiant app or update Radiant to the latest version

Examples

## Not run: 
radiant::lin_launcher("radiant")

## End(Not run)


Create a launcher and updater for Mac (.command)

Description

Create a launcher and updater for Mac (.command)

Usage

mac_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 ("radiant", "radiant.data", etc.). Default is "radiant"

port

Port to use for shiny::runApp (e.g, port = 4444)

pdir

Project directory to use. Default is Sys.getenv("HOME")

Details

On Mac a file named 'radiant.command' and one named 'update_radiant.command' will be put on the desktop. Double-click the file to launch the specified Radiant app or update Radiant to the latest version

Examples

## Not run: 
radiant::mac_launcher()

## End(Not run)


radiant

Description

Launch radiant in the default web browser

Usage

radiant(state, ...)

Arguments

state

Path to state file to load

...

additional arguments to pass to shiny::runApp (e.g, port = 8080)

Details

See https://radiant-rstats.github.io/docs/ for documentation and tutorials

Examples

## Not run: 
radiant()
radiant("https://github.com/radiant-rstats/docs/raw/gh-pages/examples/demo-dvd-rnd.state.rda")

## End(Not run)

Start radiant but do not open a browser

Description

Start radiant but do not open a browser

Usage

radiant_url(state, ...)

Arguments

state

Path to statefile to load

...

additional arguments to pass to shiny::runApp (e.g, port = 8080)

Examples

## Not run: 
radiant_url()

## End(Not run)

Launch radiant in the Rstudio viewer

Description

Launch radiant in the Rstudio viewer

Usage

radiant_viewer(state, ...)

Arguments

state

Path to state file to load

...

additional arguments to pass to shiny::runApp (e.g, port = 8080)

Details

See https://radiant-rstats.github.io/docs/ for documentation and tutorials

Examples

## Not run: 
radiant_viewer()

## End(Not run)

Launch radiant in an Rstudio window

Description

Launch radiant in an Rstudio window

Usage

radiant_window(state, ...)

Arguments

state

Path to state file to load

...

additional arguments to pass to shiny::runApp (e.g, port = 8080)

Details

See https://radiant-rstats.github.io/docs/ for documentation and tutorials

Examples

## Not run: 
radiant_window()

## End(Not run)

Create a launcher and updater for Windows (.bat)

Description

Create a launcher and updater for Windows (.bat)

Usage

win_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 ("radiant", "radiant.data", etc.). Default is "radiant"

port

Port to use for shiny::runApp (e.g, port = 4444)

pdir

Project directory to use. Default is Sys.getenv("HOME")

Details

On Windows a file named 'radiant.bat' and one named 'update_radiant.bat' will be put on the desktop. Double-click the file to launch the specified Radiant app or update Radiant to the latest version

Examples

## Not run: 
radiant::win_launcher()

## End(Not run)