launcher | R Documentation |
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")
)
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") |
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
win_launcher
to create a shortcut on Windows
mac_launcher
to create a shortcut on Mac
lin_launcher
to create a shortcut on Linux
## Not run:
radiant::launcher("radiant.model")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.